PDA

View Full Version : Install Makers


PHIN
02-10-2003, 12:23 PM
Does anyone here knows a good freeware install maker that can create more than one desktop shortcut?

I already tried some, the best I got was Inno Setup Compiler, but to create several shortcuts, I need to specify the folder, and I wanted to be able to let users choose their own installation folders....

It works when I use only a pre-determined folder, but if someone changes the name of the folder, the shortcuts are broken...

Anyone can help?

PHIN
02-10-2003, 10:44 PM
Or like, do u guys at least know how can I alter the "object" of a shortcut for the desktop?

The "object" must be the same folder as the InstallPath...

sleddog
02-10-2003, 10:55 PM
You can do it with Inno installer. The shorcuts will not be broken if you use placeholders (variables). I used Inno a lot a couple years back. It is extremely good and very flexible.

PHIN
02-11-2003, 11:10 AM
Mmmm...
Well, this is my problem...

This is one of the shortcuts Iīm trying to make:
http://www.phin.hpg.com.br/shortcut.gif
(Itīs in portuguese cuz Iīm brazilian :D )

This is a shortcut for a game a friend of mine created...

For the shortcut to work, it HAS to specify the "source" folder, "origin", "object", I dunno how itīs called in english...

But when I create this shortcut with Inno, this "Iniciar em" field is blank, and the program wonīt load correctly, cuz it needs some certain files located in the game folder.
This one is correct cuz I created it manually...

In the script, itīs kinda like this:

[Tasks]
Name: "desktopicon"; Description: "Game Shortcut"; GroupDescription: "Desktop Shortcuts:"

[Icons]
Name: "{userdesktop}\Outgun 085"; Filename: "{app}\outgun.exe"; Tasks: desktopicon

Everything else works just fine, when I create setups to other programs that donīt really need the shortcut to point to the original folder, they work out well...

But this one I had some problems...

Is there a variable or something that can set the "Iniciar em:" field to the {app} folder the user selects when he/she installs the game?

HeadachesAbound
02-11-2003, 11:37 AM
Try setting your [Icons] Section to this...

[Icons]
Name: "{userdesktop}\Outgun 085"; Filename: "{app}\outgun.exe"; WorkingDir: "{app}"

The "Iniciar em" field that you refer to should translate to "Start In" for those of us that speak English. The WorkingDir argument should populate this for you.

PHIN
02-11-2003, 06:00 PM
!!!!!!!!!!

Wow man, thank you soooo much, it worked out perfectly! :D :D :D

I didnīt know there was this "WorkinDir" variable, I couldnīt find anything about this on the help file, itīs just what I needed...

Well, thanks again! :D