Page 1 of 1
Overriding the msi installation paths in the deployment tool
Posted: Fri Jul 06, 2018 1:10 am
by dhnaigles
We are building a new deployment for our VLF-WIN app to upgrade to SP2 for our 250 users. I have not used the deployment tool in a while and now, at least in SP2, when the msi package is run, it is put into a folder in the users personal folders (c:\users\{logged on user}\appdata\local\apps\Phoenix Metals Company\Phoenix EDGE/) and the start menu and desktop items are all in the users personal folders. We have desktops that are used by multiple AD users (logging on and off during the day) and we want to deploy the package to a default location, i.e. c:\Phoenix Metals Company\Phoenix EDGE\. Is there anyplace in the deployment tool to override the paths for the installation? I can't find any documentation for this.
Immediate replies would be most appreciated as we are planning on doing the upgrade this weekend. Thank you in advance.
Re: Overriding the msi installation paths in the deployment tool
Posted: Fri Jul 06, 2018 10:02 am
by JamesDuignan
Hi David,
The MSI installer, when it is a client install, should give the option of install for current user or all users. So that the Later is the one I assume you are after?
If you are going to be doing a quiet install via the command line you should set the property of “ALLUSER” to true as a part of the command.
Regards,
James Duignan
Re: Overriding the msi installation paths in the deployment tool
Posted: Fri Jul 06, 2018 2:53 pm
by Dominik
Hi David, indeed the MSI installer (which we have been using since V13) uses the Microsoft recommended installation folder for applications, which is either:
c:\users\{logged on user}\appdata\local\apps\{company name}\{App description} for a "Current user only install"
or
c:\Program Files (x86)\{company name}\{App description} for an "All users install"
Since this is the default recommended for MSI deployments we no longer have an install directory option in the Deployment Tool like we used to have. However it is possible to install the application to a custom folder, by specifying the APPA property when calling the install via msiexec.exe
https://docs.lansa.com/14/en/lansa022/c ... 9_0030.htm
Note that while you can install a "Current User Only" installation to a central location using that parameter, the shortcuts would only be created in the current user's start menu/desktop. So if you want the application available to all users, make sure you call MSIEXEC from a command prompt with administrative rights (last paragraph in that documentation page). It might be worth setting the "Require Elevation" property to Yes in the deployment package to make sure you dont accidentally install it for current user only.
Re: Overriding the msi installation paths in the deployment tool
Posted: Wed Jul 18, 2018 1:02 am
by atostaine
My customer installs the app as administrator and then it installs for all users.
Art