[wix-users] Possible for dynamic DownloadUrl in WiX Bootstrapper

Wheeler, Blaine (DSHS/DCS) BWheeler at dshs.wa.gov
Thu Jun 22 09:18:31 PDT 2017


Do you have 
	Cache="yes"  In your code?  This will download the content to install

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Barker, Joseph
Sent: Thursday, June 22, 2017 8:48 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Possible for dynamic DownloadUrl in WiX Bootstrapper

So this did knock my exe size all the way down to where it needed to be, but it seems like it's downloading the exe and running it locally and looking for the paths locally as it prompts me to search for the file presumably because it can't find it.

My exe has these properties now

SourceFile="$(var.ResourcesDir)\NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
Name="NDP461-KB3102436-x86-x64-AllOS-ENU.exe">

The folder where the built exe resides also has all the prerequisite exes now so it's putting them on the server folder.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Wheeler, Blaine (DSHS/DCS)
Sent: Thursday, June 22, 2017 10:17 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Possible for dynamic DownloadUrl in WiX Bootstrapper

Easy
Content will be output relative to the bundle exe and it all has to be on the site since it depends on relative paths.

Example

 <MsiPackage Id="myinstall"
Cache="yes"
Compressed="no"
DisplayName="My Package"
SourceFile="Path2SourceFIles\My.msi"
Name="folderRelativeToTheExe\My.msi"
/>

Compressed=No - keeps the source out of the bundle Name=......  Creates the folder under where your bundle is and puts the package in it.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Barker, Joseph
Sent: Wednesday, June 21, 2017 3:05 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Possible for dynamic DownloadUrl in WiX Bootstrapper

I don't know if what I'm wanting is possible, but I'd love to find out.

I'm converting an old ClickOnce bootstrapper to WiX bootstrapper first off.

My users will be connecting to IIS servers (different for different users) and downloading the Setup.exe created from building.

I would like to know if there is a way to not include all my prerequisite packages in the Setup.exe download (to keep the file size small) and have the installer return to the server that the Setup.exe was acquired from to download the prerequisites as needed.

If I had one IIS server this would be simple, you would just hardcode the http link to the IIS server and let it download like it was downloading from the internet. However I can't hardcode a path because there are different servers for different people.

This seemed to work fine with ClickOnce I just don't know how to make it work with WiX.
Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employer or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and delete the material from your computer. Thank you for your cooperation.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employer or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and delete the material from your computer. Thank you for your cooperation.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list