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: MSI Project - Custom destination path in Components
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
‎Nov 17, 2009
07:41 AM
MSI Project - Custom destination path in Components
Hi,
Im trying to set a variable for some of my components which i shall assign later at run time in the installscript. I have tried creating the variable in Path Variables but i cant seem to see it in the destination path. How can this be achieved?
Regards,
Sniperkid
Im trying to set a variable for some of my components which i shall assign later at run time in the installscript. I have tried creating the variable in Path Variables but i cant seem to see it in the destination path. How can this be achieved?
Regards,
Sniperkid
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2009
11:36 AM
Actually, the Path Variables view is just for paths to source files on your build system. You can use the Files and Folders view, or use the create-a-destination command in a component's Destination setting menu, to create a custom destination directory identifier.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2009
11:40 AM
What i mean is, the folder path varies per computer as it grabs the location from the registry i cant specify the exact registry because it depends on what version is installed, this is handled in the installscript code and then it sets the variable. So i just need a way to set a variable that i can call/change in the installscript code on run time.
Regards,
Sniperkid
Regards,
Sniperkid
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2009
11:42 AM
Perhaps MsiSetTarget?
You might also look at this old newsletter tip (PDF): http://www.flexerasoftware.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.
You might also look at this old newsletter tip (PDF): http://www.flexerasoftware.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.