cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ritulranjan
Level 5

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.
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Perhaps see if MsiGetTargetPath will return the value you want?
0 Kudos
ritulranjan
Level 5

How to actually use it?

Can you please provide sample InstallScript, considering the example I posted earlier?
0 Kudos
jchristman
Level 8

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.
0 Kudos