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: Get path of a directory created in exe called in custom action
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
Apr 21, 2015
12:13 AM
Get path of a directory created in exe called in custom action
Hi
I am launching an exe file in custom action which installs another application in XYZ directory. Now the issue I am facing is that I need to set permissions to one of its files which is installed in this XYZ directory. To accomplish this I need to know the value of XYZ. Is there a way to accomplish it ?
I have no idea how to approach this problem so any help or advice is appreciated. Thanks!
I am launching an exe file in custom action which installs another application in XYZ directory. Now the issue I am facing is that I need to set permissions to one of its files which is installed in this XYZ directory. To accomplish this I need to know the value of XYZ. Is there a way to accomplish it ?
I have no idea how to approach this problem so any help or advice is appreciated. Thanks!
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 21, 2015
01:39 AM
So you are launching setup2 in your custom action and would want to know where setup2 installed its files.
so this setup2 is an MSI based installer ?
Does setup2 create any sort of user friendly registry entries with basic info of it's version, installation location which you can read (probably)?
Do you know the product code of this setup2? if yes, then query registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\<ProductCode of Setup2>" InstallLocation"
so this setup2 is an MSI based installer ?
Does setup2 create any sort of user friendly registry entries with basic info of it's version, installation location which you can read (probably)?
Do you know the product code of this setup2? if yes, then query registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\<ProductCode of Setup2>" InstallLocation"
