[WiX-users] Detecting uninstall or minor upgrade
How do I detect uninstall or minor upgrade or first time install. I looked at the values in the table in the following article http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi and I don't think they are correct! Are they? Why do I need >(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") to detect the uninstall if accoriding to the table NOT UPGRADINGPRODUCTCODE should be enough? How do I easily check those values when the installer runs. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error 1316 and browser download
If you download an msi file and choose to run the file (rather than save it), Internet Explorer will add a number to the filename in brackets (such as[1] or [2] etc...). Windows Installer saves this filename in the registry and expects the same filename if you run an upgrade/repair or uninstall. If the filename does not match, an Error 1316 will occur saying 'A network error occurred while attempting to read from the file ' Is there any way I can override this behavior in WIX? I could go to the \SourceList>) and check the file name but I don't think every installation does that. What is the trick here? -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error 1316 and browser download
If you download an msi file and choose to run the file (rather than save it), Internet Explorer will add a number to the filename in brackets (such as[1] or [2] etc...). Windows Installer saves this filename in the registry and expects the same filename if you run an upgrade/repair or uninstall. If the filename does not match, an Error 1316 will occur saying 'A network error occurred while attempting to read from the file ' Is there any way I can override this behavior in WIX? I could go to the \SourceList>) and check the file name but I don't think every installation does that. What is the trick here? -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
Using the following command 'msiexec /i SampleUpgrade.msi REINSTALL=ALL REINSTALLMODE=vomus' for minor upgrade causes the following rule not to be obeyed FILEEXISTS Is there any way I can do the minor upgrade and have this condition to be respected so that my services does not get shut down? -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unmanaged c++ window service installation
Thank You. That would make sense. If .net service installer is out of the picture then SCM is all what matters and then service is a service. -Original Message- From: Christopher Painter Sent: Saturday, February 12, 2011 5:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Unmanaged c++ window service installation That's a bit of a trick question because it assumes one should use custom actions in the first place. I always use the built-in standard actions as encapsulated by the WiX elements ServiceInstall and ServiceControl. A service is a service is a service. The Service Control Manager has an API and it makes no difference if you are using C, C++, C# other then the differences in how each of those languages interact with that API. In .NET is't the ServiceBase class that helps hide a lot of these details. I suggest not using the custom action and read the following: http://blog.deploymentengineering.com/2006/07/msi-vs-net.html http://blog.deploymentengineering.com/2011/01/augmenting-installshield-using-windows_19.html --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message ---- From: Mark Turek To: wix-users@lists.sourceforge.net Sent: Sat, February 12, 2011 5:01:52 PM Subject: [WiX-users] Unmanaged c++ window service installation 1. Is there any difference between installing managed windows services versus unmanaged ones using standard custom actions? 2. If yes then what is the best way to install unmanaged windows service (any examples?) I just wanted to get some feedback from you guys to save some time since I am not a Wix person. My windows service has it’s own installer which I wrote and I could just call it from the custom action dll, which I already have. Is this a way to go? There has to be some standard way to do this. What about wix utilities? -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Unmanaged c++ window service installation
1. Is there any difference between installing managed windows services versus unmanaged ones using standard custom actions? 2. If yes then what is the best way to install unmanaged windows service (any examples?) I just wanted to get some feedback from you guys to save some time since I am not a Wix person. My windows service has it’s own installer which I wrote and I could just call it from the custom action dll, which I already have. Is this a way to go? There has to be some standard way to do this. What about wix utilities? -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] InstallValidate Action sequence
How do I control the sequence of InstallValidate action. I want my custom action to execute before InstallValidate displays filesInuse dialog. So far I played couple of different tricks with the sequence attribute but it does not seem to have any effect. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] bypass fileinuse
Thanks Andreas! Yes, this would be a solution. One of my components is also a plug-in. I heard though that there is a way to setup some kind of a bit flag and the installation engine would do just what I need but I went through all possible docs I found absolutely nothing. If any this will be probably at the msi level anyway since WIX schema does not have anything closely similar. Regards and thanks for your reply! -Original Message- From: Andreas Mertens Sent: Friday, February 04, 2011 3:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] bypass fileinuse I've done something similar for an IE plug-in that gets updates on the fly. But it does require a bit of an architecture change. I use a directory with the original images (which is where my assemblies get installed, could be .exes also). I have a core app that loads/launches what I need by copying the original to a temp directory and execute from there. Then when the update runs, the original image can get updated. The next time the core app needs to load/launch your component, it can check to see if the original image is more up to date - if it is it makes a new copy and runs that. Of course you still need a core launcher app to deal with, but overall I find this works reasonably well. Andreas Mertens NVision Ideas Inc. - Original Message - From: Mark Turek Date: Friday, February 4, 2011 1:28 pm Subject: [WiX-users] bypass fileinuse > I have a requirement where installation needs to proceed even if > the exe (actually any installable component) is running and loaded > in the memory. The installation should be silent and whenever > currently running executable is closed the next startup should > proceed with the newly installed one. > The questions here are > a.. Is this possible? > b.. how to bypass default interruptions coming from the msi > engine like fileInUse etc... and allow the upgrade/install to > proceed while running (reboot action is not a solution) > --- > --- > The modern datacenter depends on network connectivity to access > resourcesand provide services. The best practices for maximizing a > physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] bypass fileinuse
I have a requirement where installation needs to proceed even if the exe (actually any installable component) is running and loaded in the memory. The installation should be silent and whenever currently running executable is closed the next startup should proceed with the newly installed one. The questions here are a.. Is this possible? b.. how to bypass default interruptions coming from the msi engine like fileInUse etc... and allow the upgrade/install to proceed while running (reboot action is not a solution) -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users