FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   inno setup problem,help mee!!! (https://fileforums.com/showthread.php?t=102083)

ivanlakersss666 24-07-2018 12:48

inno setup problem,help mee!!!
 
I can not run the prey game from the desktop, from the shortcut icon, can someone help me modify the script so that the game opens up? :(

[Files]
Source: "C:\GAMES\Prey.v1.07\Binaries\Danielle\x64\Release \Prey.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\GAMES\Prey.v1.07\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

KaktoR 24-07-2018 12:56

You must start the game as admin. Use google search to find out how to give shortcuts admin privileges.

ivanlakersss666 24-07-2018 12:59

It is not a problem to run the game as an administrator, the problem is that the game.exe is in subfolders and you have to edit the script.

KaktoR 24-07-2018 13:01

Show me your [Setup] section

ivanlakersss666 24-07-2018 13:06

here my script

https://www5.zippyshare.com/v/s6mL1bCN/file.html

KaktoR 24-07-2018 13:12

1 Attachment(s)
Here is the fix

If you want the Mooncrash desktop icon too, remove the first semicolons ( ; ) before the two lines
Code:

;Name: "{commondesktop}\PREY Mooncrash"; Filename: "{app}\Whiplash\Binaries\Danielle\x64\Release\Prey.exe"; Tasks: desktopicon
;Name: "{group}\PREY Mooncrash"; Filename: "{app}\Whiplash\Binaries\Danielle\x64\Release\Prey.exe"


ivanlakersss666 24-07-2018 13:55

thank friend for help me.Can you tell me what lines are you modified to have the 2 shortcuts on the desk for future repack?

KaktoR 24-07-2018 14:52

Only have changed 1 line, removed 1 line and added 2 lines. Compare both script to see the difference.

ivanlakersss666 05-08-2018 17:22

Can you help with The game Rime for edit the script?

https://www75.zippyshare.com/v/ojyKnah5/file.html

PsYcHo_RaGE 06-08-2018 06:53

you need only one script at a time, just edit the same script everytime
i would suggest that make your script a bit easy to read

ivanlakersss666 06-08-2018 08:41

Can you help me to edit script?


All times are GMT -7. The time now is 01:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com