- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to read Installation Directory in VBScript and PowerShell Script? I need both as I use in di...
- 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
How to read Installation Directory in VBScript and PowerShell Script? I need both as I use in different installers.
I have default directory where my app gets installed. But during installation wizard, if user changes default installation directory I want to use that new directory to run a powershell/VBScript file located in where my app is going to sit as the script files are going to be there...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @chilakamarthi81,
Thank you for your post.
Please accept our apologies for the delayed response.
The following response applies to only the following project types:
Basic MSI
InstallScript MSI
The documentation at the following link discusses how to get and set INSTALLDIR via a VBScript custom action:
For a PowerShell custom action, you could try the PowerShell cmdlets discussed in the documentation at the following link:
https://docs.revenera.com/installshield28helplib/helplibrary/CAPowerShell.htm
Please give these suggestions a try. Do they work for you?
Please let us know if you have any questions or concerns. Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @chilakamarthi81,
Thank you for your post.
Please accept our apologies for the delayed response.
The following response applies to only the following project types:
Basic MSI
InstallScript MSI
The documentation at the following link discusses how to get and set INSTALLDIR via a VBScript custom action:
For a PowerShell custom action, you could try the PowerShell cmdlets discussed in the documentation at the following link:
https://docs.revenera.com/installshield28helplib/helplibrary/CAPowerShell.htm
Please give these suggestions a try. Do they work for you?
Please let us know if you have any questions or concerns. Thanks!
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)