Re: [WiX-users] how to auto-update like ClickOnce in WIX
I ended up figuring this out on my own. Thanks Jacob for the help with this utility. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-auto-update-like-ClickOnce-in-WIX-tp7592308p7596694.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to auto-update like ClickOnce in WIX
Could you provide this again Jacob? I'm having trouble writing this wrapper with C#. If you could point me in the right direction that would be great. Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-auto-update-like-ClickOnce-in-WIX-tp7592308p7596692.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Updater application using Bootstrapper UI/Bundle
gregbty wrote I'll fill in some background information before the question. (/smile) I started working on a custom updater application that essentially needed to perform the following tasks: 1) Get latest version information for application from a remote location 2) Display release notes and latest version information to the user 3) Download the setup package (currently with WCF via TCP or directly via HTTP) 4) Install the setup package I was able to set this up fine without any issues. But I wanted to extend it and provide actual progress and status to the user through the updater application instead of just opening the MSI file after downloading it. The Bootstrapper Engine already provided this logic, so why reinvent the wheel? We already are using WiX with a custom Bootstrapper UI for our installer. I ended up integrating the updater logic there as well so that we could ensure that users always had the latest package before installation. Then I started wondering whether or not I could just use the Bootstrapper UI post installation as my updater application instead. I could just pass in various command line arguments to accomplish the flow that I wanted. The big problem is that there is a circular dependency. The Bootstrapper bundle needs the final MSI and the updater needs to be included in the MSI to ensure that it is installed with the application. So I have a few questions that I haven't found any definitive answers to: 1) Is it possible to install the executing Bootstrapper application into the application's folder? Is there some variable exposed? (This is probably a long shot since the MSI knows nothing of the Bootstrapper) 2) Is it possible or in the works to externalize a MSI package in a bundle chain? Can I use the DownloadUrl property or somehow hook into a Boostrapper engine event that allows me to download the MSI package for the bundle at run time (The DetectUpdateBegin event comes to mind). 3) Is it possible to create a fake bundle with a fake MSI that can be used to just build the Bootstrapper application? Then, would I able to ignore the bundle completely and use an event like DetectUpdateBegin to force the Bootstrapper application to install a package not listed in the bundle? I want to get these questions answered to determine whether or not it's worth it going down this rabbit hole. Thanks in advance! Replying to message since I had to resubscribe to the list first. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updater-application-using-Bootstrapper-UI-Bundle-tp7596579p7596580.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Updater application using Bootstrapper UI/Bundle
I'll fill in some background information before the question. (/smile) I started working on a custom updater application that essentially needed to perform the following tasks: 1) Get latest version information for application from a remote location 2) Display release notes and latest version information to the user 3) Download the setup package (currently with WCF via TCP or directly via HTTP) 4) Install the setup package I was able to set this up fine without any issues. But I wanted to extend it and provide actual progress and status to the user through the updater application instead of just opening the MSI file after downloading it. The Bootstrapper Engine already provided this logic, so why reinvent the wheel? We already are using WiX with a custom Bootstrapper UI for our installer. I ended up integrating the updater logic there as well so that we could ensure that users always had the latest package before installation. Then I started wondering whether or not I could just use the Bootstrapper UI post installation as my updater application instead. I could just pass in various command line arguments to accomplish the flow that I wanted. The big problem is that there is a circular dependency. The Bootstrapper bundle needs the final MSI and the updater needs to be included in the MSI to ensure that it is installed with the application. So I have a few questions that I haven't found any definitive answers to: 1) Is it possible to install the executing Bootstrapper application into the application's folder? Is there some variable exposed? (This is probably a long shot since the MSI knows nothing of the Bootstrapper) 2) Is it possible or in the works to externalize a MSI package in a bundle chain? Can I use the DownloadUrl property or somehow hook into a Boostrapper engine event that allows me to download the MSI package for the bundle at run time (The DetectUpdateBegin event comes to mind). 3) Is it possible to create a fake bundle with a fake MSI that can be used to just build the Bootstrapper application? Then, would I able to ignore the bundle completely and use an event like DetectUpdateBegin to force the Bootstrapper application to install a package not listed in the bundle? I want to get these questions answered to determine whether or not it's worth it going down this rabbit hole. Thanks in advance! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updater-application-using-Bootstrapper-UI-Bundle-tp7596581.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Updater application using Bootstrapper UI/Bundle
Thanks for the quick response! So essentially I will need to: 1) Create a wrapper for butil (if you have an example that would be great) 2) Install the wrapper with my application 3) Add the WixBundleProviderKey to my application so that I can save the value to use with the wrapper later This will allow me to call to the wrapper with the key and basically open the Bootstrapper as an updater. From there I can do all the necessary leg work in the OnDetectUpdateBegin event, etc to download and install the appropriate update, if there is one of course. Is that correct? Is this part of the WiX 3.9 RC? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updater-application-using-Bootstrapper-UI-Bundle-tp7596579p7596589.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Updater application using Bootstrapper UI/Bundle
One last question (hopefully): 1) Can I pass any additional command line parameters? (From what I read, it looks like you pass in the checkupdate switch automatically) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updater-application-using-Bootstrapper-UI-Bundle-tp7596579p7596592.html Sent from the wix-users mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Editing files within a compiled bundle
What does the Extension do? Let me a little context and maybe you can tell me if there is another way to accomplish this. I have a central server application that is installed on a Windows server machine. Inside of this application the user is able to build other installers for clients that produce applications that communicate with the server application. The client installers are already pre-built in the central server application at development time. When it is in production, a user initiated build just opens the MSI and updates several properties. These properties dictate how the client application will be installed. This works fine for Wix 3.5 but since the MSI built is wrapped inside of a bundle in our 3.6 installer it no longer works. Is there another way to accomplish this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Editing-files-within-a-compiled-bundle-tp7582554p7582564.html Sent from the wix-users mailing list archive at Nabble.com. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Editing files within a compiled bundle
Is there a list of the executables and dlls that are required for building the bundle? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Editing-files-within-a-compiled-bundle-tp7582554p7582571.html Sent from the wix-users mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users