0
\$\begingroup\$

I tested the game I created on 4 computers (ALL Windows 7) and had the following problem at installation time.

The shortcut created by the installer itself came like this:

enter image description here

When I click the following message appears:

enter image description here

Clicking in search appears this:

enter image description here

By clicking the application Bet on Man the shortcut would work correctly. However, not that the players have that task.

\$\endgroup\$
  • \$\begingroup\$ If you right-click the shortcut and choose "properties" there should be a section there, in one of the tabs, that shows you the path the shortcut is attempting to point to. This likely differs from "Usuarios/Oczul/Bet on Man/Bet on Man.exe" -- it would be useful to know what path the shortcut's trying to use. It sounds like it thinks the name of the executable is literally "${BET ON MAN}.exe" which sounds like a problem in the substitution of some variable somewhere. \$\endgroup\$ – Josh Jan 12 at 3:51
  • 1
    \$\begingroup\$ Why don't you use single executable? I don't see any reason to use installer. \$\endgroup\$ – Dmi7ry Jan 12 at 9:41
  • \$\begingroup\$ @Josh How could I rename the generated executable? I tried to change product and display name. Unsuccessfully. \$\endgroup\$ – Boneco Sinforoso Jan 12 at 22:21
  • \$\begingroup\$ @Dmi7ry I'd like to do this, but I do not know how. \$\endgroup\$ – Boneco Sinforoso Jan 12 at 22:23
  • 1
    \$\begingroup\$ @Boneco Sinforoso When you click "Create Application" the file save dialog lets you choose the type of the file Game maker will create. There you select "single runtime executable" \$\endgroup\$ – Juanpa Jan 12 at 22:46
0
\$\begingroup\$

With the help of Dmi7ry and Juanpa who commented on my question, I was able to solve this problem.

When creating an application, just switch from Windows NSIS Installer to Single runtime executable:

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.