TUTORIAL TO MODIFY THE INSTALLER SO THAT IT CREATES A DESKTOP ICON
-------------------------------------------------------------------------
1. When you are ready to compile your project, click "Distribute (create exe)" and then click "Start Distribution".
2. Click OK until you get the following message: "Adventure Maker is now ready to create a setup file for your project. The process may take a few minutes."
3. For the moment, do NOT click OK. With Notepad, edit the file "PROJECTNAME.ISS" that is located inside the Adventure Maker folder (i.e. the folder in which you have installed Adventure Maker).
NOTE: The ISS file is located in C:\Users\.....\Documents\Adventure Maker v4.7 for Adventure Maker versions 4.7.* and later.
4. You will notice that at the very end of the file there is an "Icons" section that contains the following code:
- Code: Select all
[Icons]
Name: "{group}\PROJECT_TITLE"; Filename: "{app}\PROJECT_TITLE.exe"; WorkingDir: "{app}"
(where PROJECT_TITLE depends on what you have entered in the Project Properties).
Duplicate the line that starts with "Name:" and change the word "group" into "userdesktop", so that at the end the code looks like that:
- Code: Select all
[Icons]
Name: "{group}\PROJECT_TITLE"; Filename: "{app}\PROJECT_TITLE.exe"; WorkingDir: "{app}"
Name: "{userdesktop}\PROJECT_TITLE"; Filename: "{app}\PROJECT_TITLE.exe"; WorkingDir: "{app}"
(the only difference between the first line and the second one is that the word "group" has been replaced with "userdesktop")
5. Now save and close the file. Go back to Adventure Maker and click OK to resume the creation of the setup file.
Regards,
GM-Support