cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cedric
Level 2

INSTALLDIR in component wizard & prerequisites

Hello,

I have 2 questions on InstallShield 2010 (Basic MSI):

- I want to create a service with a file which is in my INSTALLDIR. When I create a new component (Install Service), is there a way to specify the INSTALLDIR path? (In the Designer, you can only choose a file on the filesystem without custom variables)

- I want to create a prerequisite. If the prerequisite is triggered, I would like to install a file which is in my INSTALLDIR. How to do that? (In the editor, you can only choose a file on the filesystem without custom variables)

Regards,

Cedric
Labels (1)
0 Kudos
(1) Reply
MSIYER
Level 8

You add a new file from the filesystem. But thats just a link for the IDE to search for the file for packaging purposes. The path from where you add a file has no bearing on where the file gets installed on end-user system.

By default the IDE uses INSTALLDIR as the destination for any new component created. You can then change this to any path you want.

In the Component view tree, click on the component to see its destination. Thats where the file gets installed. Its INSTALLDIR by default.
0 Kudos