![]() |
I need help with inno setup subfolder game.exe!!!
Hi guys, I need your help with the inno setup program. My problem is with the shortcut to the desktop of my game. I'm making a repack and my .exe file is in a subfolder and the inno setup program only works well if the .exe file is in the main root folder of the game. I need to edit my script correctly so that the address of my desktop shortcut works correctly. Could you share my script in case you can correct it for me? I hope for your help. Thanks.
|
Quote:
|
1 Attachment(s)
|
Quote:
|
Code:
[Files] |
You could add something like this if you want to change subfolder name in just one line of script instead of several lines
Code:
#define Subfolder "System\" |
I need to fix 3 shortcuts for 3 games, I can't fix it, I'm sharing the file with you in case you can fix it for me, thanks
https://www.mediafire.com/file/iydyw...ction.iss/file |
What you mean you need to remove shortcuts?
|
Quote:
|
????
|
The problem here is that you use the same {#MyAppName} ISPP code for all 3 games. This just means that the installer actually creates all 3, but overwrites the previous because of the same shortcut name.
Change it like this Code:
Name: "{commondesktop}\Resident Evil"; Filename: "{app}\Resident Evil\ResidentEvil.exe"; Tasks: desktopiconPS: {group} are startmenu icons. If you don't want them you can delete them and just keep desktop shortcuts. |
Thank you very much my friend, in the end it worked with your advice, I suppose that if I want to create more shortcuts to the desktop it is to add more lines respecting the parameters of never placing the same name so that it never gives me another error, I will make a video tutorial for YouTube so that my wisdom reaches more people who need to create repacks :D
|
Quote:
|
internal (no isdone)
Code:
#define MyAppName "Games" |
If I wanted to edit the .ico files of the desktop shortcuts with others that I like, what should I edit from my script? They would be 4 icons.
|
Quote:
Code:
[Files] |
| All times are GMT -7. The time now is 14:56. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com