Inno Setup for Installer

Started by Ghostlady, Sun 15/10/2006 22:42:50

Previous topic - Next topic

Ghostlady

Has anyone used this installer?  I seen to have a glitch.  I can create a desktop icon and when used, applies saves in the correct directory.  If I select to run the game from the Start/Programs/Game, the saves go to some "Common Files" directory and the saves from running the desktop game will no longer be accessible.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

smiley

Did you set the "WorkingDir" parameter in the "Icons" section?

For example:
[Icons]
Name: "{group}\startmenuedir"; Filename: "{app}\appfilename"; WorkingDir: "{app}"
Name: "{userdesktop}\appname"; Filename: "{app}\appfilename"; WorkingDir: "{app}"; Tasks: desktopicon

Ghostlady

Thanks smiley, that was it.  I had it on the userdesktop line but not on the one above.  Argh, don't know how I missed that.  I got it all working now except for the desktop icon.  It will never display the .ico file.  I get a generic windows icon.  If I don't try to define one, I get the AGS icon.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

smiley

#3
Put the icon inside the "compiled" folder, so it will be included in the installation.
Define the icon by putting this:
IconFilename: "{app}\NAMEOFTHEICON.ico"
in the definition of the desktopicon.


But if you already did this, try to test if your windows can display that icon:
Create a shortcut and change its icon to yours.

Ghostlady

The icon is in the compiled folder.Ã,  I have the IconFilename defined and I tried the test for creating the shortcut, and the shortcut worked.Ã,  :(Ã,  Do you have any other ideas?

Name: {group}\Example; Filename: {app}\Example.exe; WorkingDir: {app}
Name: {group}\{cm:UninstallProgram,Example}; Filename: {uninstallexe}; WorkingDir: {app}
Name: {userdesktop}\Example; Filename: {app}\Example.exe; Tasks: desktopicon; WorkingDir: {app}; IconFilename: {app}\Example.ico
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

SMF spam blocked by CleanTalk