This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: INSTALLDIR in component wizard & prerequisites
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2011
01:33 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2011
02:02 AM
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.
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.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)