MSI Package Location & Build

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
robert.eickleberry
Posts: 1
Joined: Mon Nov 28, 2016 6:46 am

MSI Package Location & Build

Post by robert.eickleberry » Thu Dec 08, 2016 7:04 am

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?

User avatar
DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: MSI Package Location & Build

Post by DevinL » Thu Dec 08, 2016 11:48 am

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 2413 times
DevinL
SAPIEN Technologies, Inc.

User avatar
Alexander Riedel
Posts: 6818
Joined: Tue May 29, 2007 4:43 pm

Re: MSI Package Location & Build

Post by Alexander Riedel » Thu Dec 08, 2016 6:08 pm

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
Joined: Thu Jul 24, 2014 3:26 pm

Re: MSI Package Location & Build

Post by juneblender » Tue Dec 13, 2016 8:17 am

Here's the blog post: How to find an installation directory.
http://info.sapien.com/index.php/script ... -directory