Log in

View Full Version : how to install 2 apps to 2 different directories?


Razorholt
5th March 2006, 02:07
Hi,

I don't know whether my post is relevant here so I apologize in advance.

The problem I currently have is with the NSIS installer. I don't know how to install 2 apps to 2 different directories and program start menu locations from within the same installer.

Can anybody help or at least point me to some directions?


Thanks,
- Dan

Amnon82
10th March 2006, 08:05
Normaly you can handle your 2 programs as one. You want to use one installer for both programs. Add a list of the 2 packages so the user can choose which program he want to install (1,2 or both).

In the installer you can specify where the installer should install your files.

Files of app 1 in <C:\Program files\app1\> and of app 2 in <C:\Program files\app2\>

Also the shortcuts you can add to differnt folders in the start menu.

If you need help post me the file structure of your apps and I'll write you the script. You can also upp your files somewhere and I compile the installer for you and send you all files I've created with NIS back to you so you can take a look.

Rockas
10th March 2006, 10:55
@Razorholt
Have you ever tried InnoSetup? you can fine it at www.innosetup.org... don't forget to look at the third part tools... you'll find great GUIs that ill help you with the scripts.

... oops, I forgot to mention... it is free too :)

Razorholt
10th March 2006, 22:46
Thank you very much guys for your help. I will try your suggestions today.

- Dan