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
- :
- Access destination folders in InstallScript
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
‎Sep 28, 2007
02:39 AM
Access destination folders in InstallScript
Hi,
I have an InstallScript MSI project. I used Installation Designer -> Application Data -> File and Folders to create / rename my desired folder structure on target computer [Please see attachment].
However, I don't know how to access the "Testing" folder (Directory identifier = TESTING) from my InstallScript. Is there a way to directly access the named (using Directory Identifier) folder? Or will I have to use relative paths using INSTALLDIR to access the "Testing" folder?
Please, help.
regards,
RR.
I have an InstallScript MSI project. I used Installation Designer -> Application Data -> File and Folders to create / rename my desired folder structure on target computer [Please see attachment].
However, I don't know how to access the "Testing" folder (Directory identifier = TESTING) from my InstallScript. Is there a way to directly access the named (using Directory Identifier) folder? Or will I have to use relative paths using INSTALLDIR to access the "Testing" folder?
Please, help.
regards,
RR.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 28, 2007
08:42 AM
Perhaps see if MsiGetTargetPath will return the value you want?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 04, 2007
07:04 AM
How to actually use it?
Can you please provide sample InstallScript, considering the example I posted earlier?
Can you please provide sample InstallScript, considering the example I posted earlier?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 04, 2007
11:16 AM
I have something similar, I have to go into the Windows\assemblies directory and verify a file and version if it is not there or older then place the new version there. But I am not for sure how to go about these steps.