MSI Package Location & Build

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 7 years and 3 months 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
robert.eickleberry
Posts: 1
Last visit: Wed Jul 14, 2021 5:06 am

MSI Package Location & Build

Post by robert.eickleberry »

Product, version and build:
(*** Please do not write "latest" as a version, specify a version number ***)
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS: 5.3.130 (getting ready to upgrade to 5.3.131)

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Hello, with our previous versions of PowerShell Studio when we built MSI's the location path would be C:\Program Files\Program_Name with the new version of PSS we have to input a company name and that becomes part of the install path; example C:\Program Files\Company_Name\Program_Name.

We have several scripts and reports that are based off of the 'regular' location and do not want to have to change all those. Is there a way to not include the Company Name in the MSI package deployment path?
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: MSI Package Location & Build

Post by DevinL »

When you say that with the new version of PowerShell Studio you have to input a company name that becomes part of the install path, where exactly are you being prompted to enter this?

If you go to the MSI Package settings and navigate to the Files / Folders tab, you can choose the folder the MSI is stored when it's created.
MSI_Settings.png
MSI_Settings.png (17.21 KiB) Viewed 5361 times
DevinL
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: MSI Package Location & Build

Post by Alexander Riedel »

Using the company name is considered a best practice for path names for installing software and its shortcuts as well as for registry names.
We apologize that this change may require a few modifications for you. In general you should not hard code paths to installed software.
I asked June Blender to put together a blog post which lists the options for retrieving the location of installed software, so you never have to rely
on a hard coded path name. Please stay tuned.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
juneblender
Posts: 93
Last visit: Thu Mar 30, 2017 8:54 am

Re: MSI Package Location & Build

Post by juneblender »

Here's the blog post: How to find an installation directory.
http://info.sapien.com/index.php/script ... -directory
This topic is 7 years and 3 months 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.