Export to GitHub

gui2exe - issue #23

Fixes to the Inno setup


Posted on Jul 24, 2010 by Quick Ox

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!

Status: New

Labels:
Type-Defect Priority-Medium