akshayrkulkarni / gui2exe

Automatically exported from code.google.com/p/gui2exe
0 stars 0 forks source link

Fixes to the Inno setup #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
The current Inno setup works doesn't install correctly, and
it doesn't generate a desktop shortcut during installation.

What version of GUI2Exe, Python and wxPython are you using? On what operating 
system?
v0.5.0 on Vista

Please provide any additional information below.

I fixed my application by adding the following lines.
It would be nice for the next version of GUI2EXE to include these changes.
Right now, I have to edit the file manually. Doing automatically would be 
better.

[Icons]
; THIS DOESN'T WORK because it uses / instead \ BUT...
;This section must be customized and edited as needed!
;Name: "{group}/ScriptPanel"; Filename: "{app}/ScriptPanel.exe"
;Name: "{group}/Uninstall ScriptPanel"; Filename: "{uninstallexe}"

; This works. where DummyApp is the AppName 
; it must specify WorkingDir to start
Name: "{commondesktop}\DummyApp"; Filename: "{app}\DummyApp.exe"; WorkingDir: 
"{app}" ;Tasks: desktopicon
Name: "{group}\DummyApp"; Filename: "{app}\DummyApp.exe" ; WorkingDir: "{app}"

; Adds the creation of the desktopIcon, WorkingDir specified above
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: 
"{cm:AdditionalIcons}"; Flags: unchecked

[Run]
Filename: "{app}\DummyApp.exe"; Description: "{cm:LaunchProgram,DummyApp}"; 
Flags: nowait postinstall skipifsilent; WorkingDir: "{app}"

Cheers!

Original issue reported on code.google.com by panelsu...@yahoo.com on 24 Jul 2010 at 11:18