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

Richard Grainger grainger at gmail.com
Thu Jun 22 09:20:17 PDT 2017


How would the setup.exe have any idea about the name of the web server it
was downloaded from?  If you have an internal DNS system, you could ask
your admins to implement DNS views and create a record that resolves to
different servers from different locations. Only way I can think of doing
it.

On Thu, Jun 22, 2017 at 5:05 PM, Barker, Joseph <JBarker at ntst.com> wrote:

> Additional info the log appears to be trying to find the file here
>
> C:\Users\jbarker\AppData\Local\Microsoft\Windows\Temporary Internet
> Files\Content.IE5\9W3J4YRX\NDP461-KB3102436-x86-x64-AllOS-ENU.exe
>
> Which obviously it's not there
>
> So yeah it looks like it's downloading the bundle.exe to this Temporary
> Internet Files location and the relative paths are looking from where it
> was ran.
>
> There's got to be a way to have it look back at the server and / or run
> that exe from the server instead of downloading it. But I know the old
> ClickOnce downloaded the exe and ran it locally.
>
> -----Original Message-----
> From: Barker, Joseph
> Sent: Thursday, June 22, 2017 10:48 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: RE: 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