[wix-users] Copy full installer to local drive during install
Vanniekerk, Tyrel (GE Healthcare)
tyrel.vanniekerk at ge.com
Mon May 4 06:29:37 PDT 2020
Nope. We have one installer. Basically it installs the same thing for server/workstation, just does not install as many services etc. on the client install. So the installer that get’s copied to the workstation is the full installer.
If there was a separate client installer it would be easy to add a heat statement to the server build to grab the output files from the client build. Meh.
The issue I have at the moment is that the custom action that deletes the copy of the setup files fails sometimes on our AWS systems with an access denied error. I moved the delete to the finalize step of the uninstall, maybe something was holding on to the file, although that does not make sense. 😊
From: Christopher Painter <chrpai at iswix.com>
Sent: Sunday, May 3, 2020 9:40 AM
To: wix-users at lists.wixtoolset.org
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: EXT: Re: Copy full installer to local drive during install
I did that for a few client years ago. First I built the installer and then I built the server. The server contained all the client files and laid them down creating a fileshare in the process. The client was installed from this share and there was code in the application that checked for an updated MSI on this share. When detected, it used LUA Minor Upgrades without needing an elevated account on the client side and then the installer relaunched the client.
As far as the server install was concerned, the client installer was just more files to install. No custom actions were needed.
Does that sound like your scenario?
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Vanniekerk, Tyrel (GE Healthcare) via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Sent: Friday, May 1, 2020 7:34 PM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org> <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com<mailto:tyrel.vanniekerk at ge.com>>
Subject: [wix-users] Copy full installer to local drive during install
Currently I have a custom action that copies the entire installer directory to a local folder during install of the server version of our software and then when the client loads and realizes it's not up to date, it downloads the installer from the server and runs it.
Is there any WiX way to copy the entire installer (setup exe with everything still in it and extra prereq folders etc.) to the install folder on the machine?
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users