Change MSI Installation Path

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
PsCustomObject
Posts: 137
Last visit: Mon Mar 18, 2024 3:11 am

Change MSI Installation Path

Post by PsCustomObject »

Product, version and build: Powershell Studio 2019, 5.6.158
32 or 64 bit version of product: 64-bit
Operating system: Windows 10 (1803)
32 or 64 bit OS: 64-bit

Hello,

sorry if this has already been asked but I was not able to find a definitive answer to my question, as per subject I developed a PowerShell module and created an MSI installer.

This is is working fine but it is installing under the %Program Files% folder which is fine for the most part but, due some peculiarities in our environment, I would need to customize this path.

Is this possible in PowerShell Studio?

Thanks in advance.
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: Change MSI Installation Path

Post by mxtrinidad »

You will need use the "Deployment | Settings (MSI Settings)" Custom Actions.
Here you can create scripts to take action after the installation.

In your case, move the installed application to another folder.

:)
User avatar
PsCustomObject
Posts: 137
Last visit: Mon Mar 18, 2024 3:11 am

Re: Change MSI Installation Path

Post by PsCustomObject »

Thanks I was wondering if there was a native way but that's fine I will play around with the custom actions.

Thanks!
This topic is 5 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.