Re: [WiX-users] Several questions
you can create a dll with your C# code and make your required functions available in dll. this dll cane be registered as binary in WIX code base and it's exposed function can be run as custom actions during installation. - Original Message - From: Rob L pir...@yahoo.com To: wix-users@lists.sourceforge.net Sent: Saturday, October 11, 2014 2:53:53 AM Subject: [WiX-users] Several questions Hi Im just starting to learn about wix. I want to create an installer that copies a couple files and then it runs some external c# code as well. I have visual studio express 2010 and it does not support add ins. So, i dont have access to using wix on visual studio and have to use it in msbuild. How do I tell wix to run my own c# code file during the install process? I don't know if I am asking this in the proper fashion. Please understand. Thanks Robert -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX vs NSIS
Hi, - Wix based on Windows installation technology(msi), which is controlled/managed by windows installer service. - Its Microsoft recommended installer building software which has built in support in windows. NSIS is not more than a wrapper over scripting language where as WIX/MSI is specifically designed to write installer for windows. - MSI installer files are simply database files, where as NSIS based installers are binary executable. Wix/msi based installer will support automatic rollback, uninstall, logging etc, where as in NSIS you have to write scripts for everything. - Various services like WMI, has built in support of MSI based installer, where as for NSIS based installer will be treated as a simple executable in it. - Microsoft visual studio has support of WIX toolkit, which makes development easy. - As your installer grow it becomes difficult to manage it using NSIS. We have initially NSIS based installer which was migrated to WIX after some time. MSI based installers are future of windows installation technology. Regards, Sanjay Rao On 4/17/2013 6:32 PM, Nick Miller wrote: Hey guys, thank you for all of your great responses. Allow me to provide a little background, over the past few weeks I have been learning Wix for a special project I worked on. I've gone through the tutorials, I've read the book by Nick Ramirez, and have been able to create a custom managed bootstrapper application. My company has many applications that use a few different installation technologies (mostly NSIS) and we are looking to standardize. I think Wix is awesome, and believe we should use it exclusively, so I guess my question is how do I sell this to the boss? Mind you, he is very technically proficient... -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Tuesday, April 16, 2013 7:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX vs NSIS I'm obviously biased but non-declarative installation technologies like NSIS are a complete non-starter for me. I don't want to write scripts that install files then have to remember write more scripts to uninstall those files. I had a couple consulting gigs to convert setups from NSIS. It amazed me how much code they maintained to just do the above. The .wxs files were usually smaller and far easier to maintain. Script based installs are just the wrong way to solve the problem, IMHO. On Tue, Apr 16, 2013 at 4:39 PM, Wesley Manning wmann...@dynagen.ca wrote: Last time I looked NSIS hasn't been updated since 2009. I also contemplated using NSIS. What attracted me to Wix is that it is based on MSI which (at the time) you needed to get app Windows certified. And that it is XML based which I knew. And the bootstrapper, burn, because I needed to install .net framework, drivers, etc. If you go with Wix I'll recommend the book: http://www.packtpub.com/windows-installer-xml-3-6-developers-guide/book. Bring you up to speed very fast on basics. Only thing it didn't have for me was how to install drivers, advertised shortcuts, and how to install certificates which I picked up on the internet and this mail group. Wes -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: April 16, 2013 7:44 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX vs NSIS Hi All, My company is evaluating two different Windows installer solutions, WiX and Nullsoft installer (NSIS). I was wondering if anyone has had experience with both, and could weigh in on the pros and cons, benefits, limitations, etc. Thanks, Nick -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Upgrades when only revision number changes
Hi, MSI is able to store version number information upto four places. In upgrade process it consider version number upto three places only. fourth part will be ignored by its upgrade machinery. Please check /Note that Windows Installer uses only the first three fields of the product version/ note at http://msdn.microsoft.com/en-us/library/windows/desktop/aa370859%28v=vs.85%29.aspx and /Windows Installer only uses the first 3 parts of the version in upgrade scenarios/ at http://wix.sourceforge.net/manual-wix3/major_upgrade.htm Regards, Sanjay Rao On 12/17/2012 5:39 PM, Ed Tenholder wrote: I thought MSI only looked at first three digits, ie change 1.2.3.4 to 1.2.4.4 to affect changes. tenholde -Original Message- From: Marc Fauser [mailto:marc.fau...@gmail.com] Sent: Monday, December 17, 2012 2:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix Upgrades when only revision number changes I have a setup which works great but has one bug. If only the revision number changes, the setup tells me that this product version is already installed. e.g. I have one msi with version 1.2.3.4 installed and I want to upgrade to 1.2.3.5. This doesn't work for me. I couldn't find any documentation how to solve this. Best regards, Marc Fauser -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com http://www.interrasystems.com -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install the Visual C++ redistributables file vcredist_x86.exe
I think you should use merge module of VCResdist. On 8/29/2012 3:56 PM, Natalie Carr wrote: Hi, Hope someone can help me. I'm trying to install the Visual C++ redistributables file vcredist_x86.exe I can't use merge modules as I've been asked to use this one EXE file. I added it to a bootstrapper using this code: ItemGroup BootstrapperFile Include=Microsoft.Visual.C++.10.0.x86 ProductNameMicrosoft Visual C++ Redistributables/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Server Setup BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target But this installs the prerequisites at the beginning and I have been asked to show our welcome dialog and then do a registry search to see if the appropriate files are installed. If they are not to call the vcredist_x86.exe file. Can this be done? I'm trying this but cannot get it to work. CustomAction Id=QtExecDeferredExampleWithProperty_Cmd Property=QtExecDeferredExampleWithProperty Value=quot;[#vcredist_x86.exe]quot; Execute=immediate/ CustomAction Id=QtExecDeferredExampleWithProperty BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=check Impersonate=no/ InstallExecuteSequence Custom Action=QtExecDeferredExampleWithProperty_Cmd After=CostFinalize/ Custom Action=QtExecDeferredExampleWithProperty After=InstallInitialize/ /InstallExecuteSequence Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com http://www.interrasystems.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install the Visual C++ redistributables file vcredist_x86.exe
, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com http://www.interrasystems.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] remote installer + bootstrapper
Hi, We are having a installer having 2 features(each feature is install a windows service which do some jobs). Both services/features can be installed on multiple computers and then using application's user interface user can interconnect all the application components. Thereafter all application components residing on multiple computers work together. Right now we have an msi installer having both components as two features. User has to visit all the machines one by one if he wants to install on say 10 computers. We want to create a bootstrapper application which also has capability to launch installer on multiple machines in one go. Can anybody give some pointers that how to start on this ? Many-many thanks in advance. Regards, Sanjay Rao -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] remote installer + bootstrapper
Hi, We are having a installer having 2 features(each feature is install a windows service which do some jobs). Both services/features can be installed on multiple computers and then using application's user interface user can interconnect all the application components. Thereafter all application components residing on multiple computers work together. Right now we have an msi installer having both components as two features. User has to visit all the machines one by one if he wants to install on say 10 computers. We want to create a bootstrapper application which also has capability to launch installer on multiple machines in one go. Can anybody give some pointers that how to start on this ? Many-many thanks in advance. Regards, Sanjay Rao -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] block installation of 32 bit installaer if 64 bit installer is already installed
Hi, I want to block installation of 32 bit installer if 64 bit installer is already installed on same machine. Is there ant straight way in Wix to detect the platform of a installed package ? Thanks in advance. Regards, Sanjay Rao -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to create a single component in output wxs file for whole directory using heat
Hi, I have a directory having thousand of files and directories in it. Since these files/folders updated rarely in one version to another version, So I just want to create minimum number of component for this directory to make the installer faster. This is just an experiment to check whether installer become faster or not after having a less number of components. Does anybody knows that how to create minimum number of components for one directory using heat ? Regards, Sanjay Rao -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] install location not preserved while upgradation
Hi, Every time when I upgrade my software, install location dialog shows the default install location, It does not picks the previously installed location automatically. Is there any way to do this other than storing/searching registry keys. Pointer to a article is also welcome. Thanks in advance. Regards, Sanjay Rao -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] install location not preserved while upgradation
There should be simpler method like MigrateFeatures in UpgradeVersionelement. On 02-02-2011 12:24, Neil Sleightholm wrote: I believe the registry is the only way: http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Pr operty-pattern You could set the ARPINSTALLLOCATION http://robmensching.com/blog/posts/2011/1/14/ARPINSTALLLOCATION-and-how- to-set-it-with-the-WiX-toolset but I don't know how you would recall that. Neil -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 02 February 2011 19:01 To: wix-users@lists.sourceforge.net Subject: [WiX-users] install location not preserved while upgradation Hi, Every time when I upgrade my software, install location dialog shows the default install location, It does not picks the previously installed location automatically. Is there any way to do this other than storing/searching registry keys. Pointer to a article is also welcome. Thanks in advance. Regards, Sanjay Rao -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com Phone: +1-408-873-1212 http://www.interrasystems.com -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] install location not preserved while upgradation
what will be way to do this using WIX ? I ruled out the registry storing/retrieving method, because there is a considerable amount of xml needs to be written for it. I would not mind it if there is some straightaway method of getting older install location using WIX. Regards, Sanjay Rao On 02-02-2011 12:43, Wilson, Phil wrote: Setting ARPINSTALLLOCATION allows retrieval of the location using MsiGetProductInfo(...INSTALLPROPERTY_INSTALLLOCATION...) so I guess the other than storing registry keys requirement would be met, but storing/retrieving the install location from the registry is trivial anyway with built-in MSI functionality. Sanjay doesn't say why the registry method is ruled out. Alternatively, if you know of a component that is in that primary install folder, then do a component search for it via AppSearch to set the path. Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Wednesday, February 02, 2011 12:25 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] install location not preserved while upgradation I believe the registry is the only way: http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Pr operty-pattern You could set the ARPINSTALLLOCATION http://robmensching.com/blog/posts/2011/1/14/ARPINSTALLLOCATION-and-how- to-set-it-with-the-WiX-toolset but I don't know how you would recall that. Neil -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 02 February 2011 19:01 To: wix-users@lists.sourceforge.net Subject: [WiX-users] install location not preserved while upgradation Hi, Every time when I upgrade my software, install location dialog shows the default install location, It does not picks the previously installed location automatically. Is there any way to do this other than storing/searching registry keys. Pointer to a article is also welcome. Thanks in advance. Regards, Sanjay Rao -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com Phone: +1-408-873-1212 http
Re: [WiX-users] WiX v3.5 released!
will source written for 3.0 work into 3.5 ? -Regards, Sanjay Rao On 31-01-2011 21:51, Tony Juricic wrote: Yey!!! -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, January 31, 2011 10:07 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX v3.5 released! WiX v3.5 Released! Tell your friends. Read more here: http://bit.ly/wix35 -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com Phone: +1-408-873-1212 http://www.interrasystems.com -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix upgrade process does not consider 4th part of the version string
Hi, This is not a better solution at all. Sometimes user can support same version upgrade. On the other times he can have support of modifying the existing installation using installer. We cannot stop installation in case of same version. Regards, Sanjay Rao On 16-01-2011 18:47, Rob Mensching wrote: I saw you're reply later and was going to get to it later (er, now). smile/ Personally, I would chose to have an error that says, An equal version of this product is installed. Remove it first, before installing. Maybe with a bit better error message. The lack of 4th version in the installer does make standard CI difficult. I guess I would just push the error up rather than hide the issue and have the mysterious behavior of The installer just downgraded me today. Maybe you've trained your users (QA only?) and have other systems in place to prevent the badness of downgrade (aka: versioning gone wrong) in check. Maybe the CI adds enough value to deal with the issues. In my experience, the trade-offs don't work and most people don't think through the full repercussions, leading to bad places. Neil, you certainly pay attention to the details and I'm possibly just jaded. This is just my point of view.smile/ Finally, I agree that the Windows Installer is the best of the alternatives thus far. On Sun, Jan 16, 2011 at 2:09 PM, Neil Sleightholmn...@x2systems.comwrote: PS: If you don't thinking versioning is that important to your product then you probably think I'm over exaggerating the issue. 100% agree, version is 'the' most important thing I do. I know you replied to Chris but I thought I'd add my comments... This is why I have had to choose the approach I outlined. I choose to schedule RemoveExistingProducts after InstallValidate for exactly the same reason, remove everything then put it back, that way I can get around the Windows Installer limitations. I choose Windows Installer because it helps more than hinders - I would love to use a product that did everything I need but it doesn't exist. I accept the limitations but there is no alternative but to work around them. May be I am missing the point but surely the WiX install has adopted the same approach, you just happen to set part 4 to 0 and don't release two versions on the same day. If you have continuous integration system I am struggling to see an alternative. Neil -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 16 January 2011 18:12 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix upgrade process does not consider 4th part of the version string Oh, I can't justify the Windows Installer choice either. I also can't change it. Software engineering is fun because we can build our own Lego blocks to build what we want to build. Remember 30 years ago how hard it was to build smooth looking things with Legos? The parts just did not exist (they kinda' do now, pretty cool). In software we get to build our own parts. *Except* when we choose to use some platform. Then the platform dictates certain things to be true. The rules of gravity if you like. The Windows Installer (for whatever reason, I really don't know) chose that only the first 3 parts of the ProductVersion would be evaluated. That's it. That's gravity. We can request that they change the rule but until the rule changes, that's it. Now, many software engineers don't like to accept limitations. We know we could alwasy build our own blocks. Most software engineers particularly disdain limitations that have no value or *negative* value. Sometimes creative solutions can even provide solid work arounds with no ill side-effects. However, messing with versioning is terrifying to me because versioning is the very foundation for software engineering and especially vital for *setup* development. Get versioning wrong and you end up with non-working systems (particularly with the Windows Installer). Maybe I'm sensitive to the issue because I've just seen so many problems foisted upon our customers because some setup developer didn't think the rules had to apply him or her. Maybe in controlled environments, the setup developer can control the larger system to not worry about the inconsistent versioning rules that @AllowSameVersionUpgrade creates. I just don't have enough faith in large systems (I personally usuall have to deal with *extremely* large systems) to remain constant to mess with versioning like that. And ultimately, I have to ask, To what end? Are we trying to bend the monolithic Lego piece that is the Windows Installer to show it that we can? Are we trying to demonstrate that we think 3 part versioning is incredbily lame and that we are willing to pay the cognitive dissonance tax of messed up product versioning to show it? That's not worth it to me. I believe versioning (how ever many dots are involved) is too important to software
[WiX-users] Wix upgrade process does not consider 4th part of the version string
Hi, I have an installer having 4-part version strings. Our installer stops installation if a newer version is already installed on the system. We often have alpha/beta releases of our product in which we do not change first 3 parts of the product. Suppose we have two releases of our product : Release1 : 3.0.1.14500(Alpha) Release2 : 3.0.1.14900(Beta) Our users are able to install alpha release even if beta is already present on their systems. I went through this article http://wix.sourceforge.net/manual-wix3/major_upgrade.htm see the paragraph having text Windows Installer only uses the first 3 parts of the Is there any way in Wix to take care of 4th part of version string in upgrade process ? OR Do I need to dive into clumsy custom action thing to take care this ? Regards, Sanjay Rao -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com Phone: +1-408-873-1212 http://www.interrasystems.com -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Can we launch an MSI installer on a remote machine ???????????
Hi, Can we launch an MSI installer on a remote machine ? Regards, Sanjay Rao -- Sanjay Rao Digital Media Group, Interra Systems s...@interrasystems.com Phone: +1-408-873-1212 http://www.interrasystems.com -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to get error code returned by custom action
Hi, Does anybody have any idea, how to get the error code returned by a custom action? I want to display a dialog box based upon the return code of the custom action. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to detect that a anti virus or firewall is stopping from running a custom action
Hi, Sometimes when user has tight anti virus and firewall rules configured on his machine, our installer fails. Our installer has a dll having several custom actions definitions. How can I detect that anti virus or firewall is stopping the installer to run a custom action ? Please help me if any body have any idea. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] not able to access unc locations in deffered custom actions
By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] not able to access unc locations in deffered custom actions
That mean I cannot copy a file to network or c: using a deferred custom action. Is that true ? Please advice. On 16-09-2010 11:30, Wilson, Phil wrote: That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Saturday, September 18, 2010 10:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales
[WiX-users] not able to access unc locations in deffered custom actions
Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installer crashes on windows 2008 server
Hi, I am having an installer which takes a lot of time after license agreement dialog. In the mean time it displays a dialog box saying computing space requirement. This dialog box has a return button on it. After a long time this dialog box disappears. This dialog box has two different behavior on windows XP and server 2008. 1. If I click return button on windows XP. installtion completes successfully. 2. If I click return button on server 2008, installer crashes after verifyReadyDlg. Do I need to do something different for taking care of this issue on windows server 2008 ? Regards, Sanjay Rao -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installer crashes on windows 2008 server
But it does not have issues if I do not click on return button. rahul.ekb...@sungard.com wrote: Hi, Windows 2008 is with very high security. So please check do you have permissions on registry, folder (drive), temp folder etc. Thanks, Rahul -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, August 05, 2010 5:00 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Installer crashes on windows 2008 server Hi, I am having an installer which takes a lot of time after license agreement dialog. In the mean time it displays a dialog box saying computing space requirement. This dialog box has a return button on it. After a long time this dialog box disappears. This dialog box has two different behavior on windows XP and server 2008. 1. If I click return button on windows XP. installtion completes successfully. 2. If I click return button on server 2008, installer crashes after verifyReadyDlg. Do I need to do something different for taking care of this issue on windows server 2008 ? Regards, Sanjay Rao -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] browse for backup directory
Hi, I have a installer which ask for taking backup of existing data before upgrade. It also need to ask the location where user wants to take backup. Does anybody have any idea ? I already have a property for storing backup location. I am not able to use BrowseDlg code directly because it has various events unknown to me. Regards, Sanjay Rao Pally Sandher wrote: The stock WiX UI's are found lacking when it comes to MSP support. You'll find a lot of the text controls on certain dialogs e.g. ProgressDlg is conditioned with AND NOT PATCH so you end up with blank dialogs which you'll need to customize to fix anyway. I've never got around to fixing it myself as it's a minor annoyance for us. If I ever do I'll make sure I contribute the changes to the .wxs files back to the CodeProject repository. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: KATO Kanryu [mailto:k.kan...@gmail.com] Sent: 16 July 2010 09:21 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add UI for Minor Patches(msp)? MSP application uses the UI from the MSI it upgrades to. That's right. But it seems that the UI is used as ver1.0 not as ver1.1 with any changing in ver1.1 product/product Now I investigate customize for show UIs which I hope instead of running ver 1.0 msi again. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to detect which older version is already present on target machine ?
how to detect which older version of product is already present on target machine ? Regards, Sanjay -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problem in patch creation
Hi, I am creating a patch for my installer. I have my base version installer and new installer. when I try to create patch, It fails(logs attached). my base installer and new installer having different product(@Id) and package(@Id). Please suggest if anybody have a workaround for this. Thanks Regards, Sanjay Rao ĆæĆ¾ * * * * * L o g s t a r t i n g : 2 0 1 0 - 0 7 - 1 4 1 1 : 1 3 : 5 7 * * * * * I N F O : U s i n g P c p P a t h : E : \ W i x T e s t \ W i x I n s t a l l e r \ u p d a t e . p c p . I N F O : U s i n g T e m p o r a r y D i r e c t o r y : C : \ D O C U M E ~ 1 \ s a n j a y \ L O C A L S ~ 1 \ T e m p \ ~ p c w _ t m p . t m p . I N F O : P a s s e d a l l o f t h e m a i n c o n t r o l p a r a m e t e r v a l i d a t i o n t o P a t c h W i z , n o w c a l l i n g t h e n e x t 5 p h a s e s . I N F O : P h a s e I : E n t e r e d v a l i d a t i o n a n d p r o c e s s i n g p h a s e . I N F O : V a l i d a t i o n o f P c p . I N F O : M i n i m u m R e q u i r e d M s i V e r s i o n i s 1 0 0 . I N F O : S E Q U E N C E _ D A T A _ G E N E R A T I O N _ D I S A B L E D i s 0 . I N F O : L i s t O f P a t c h G U I D s T o R e p l a c e i s . I N F O : L i s t O f T a r g e t P r o d u c t C o d e s i s . I N F O : M s i F i l e T o U s e T o C r e a t e P a t c h T a b l e s i s . I N F O : P a t c h G U I D i s { E 1 F 9 1 D D A - B 6 2 4 - 4 8 A 5 - 9 5 A C - 9 2 3 F F 7 C F 3 E 3 8 } . I N F O : P a t c h O u t p u t P a t h i s E : \ W i x T e s t \ W i x I n s t a l l e r \ B a t o n E n t e r p r i s e P a t c h _ v 3 . 0 . 3 _ r e v 1 3 3 0 6 . m s p . I N F O : P a t c h S o u r c e L i s t i s . I N F O : P A T C H _ C A C H E _ D I R i s . I N F O : A l l o w D u a l P a t c h i s 0 . I N F O : A l l o w P r o d u c t C o d e M i s m a t c h e s i s 1 . I N F O : A l l o w P r o d u c t V e r s i o n M a j o r M i s m a t c h e s i s 1 . I N F O : A p i P a t c h i n g S y m b o l F l a g s i s 0 . I N F O : D o n t R e m o v e T e m p F o l d e r W h e n F i n i s h e d i s 0 . I N F O : I n c l u d e W h o l e F i l e s O n l y i s 0 . I N F O : P A T C H _ C A C H E _ E N A B L E D i s 0 . I N F O : O p t i m i z e P a t c h S i z e F o r L a r g e F i l e s i s 0 . I N F O : M E T A _ D A T A _ G E N E R A T I O N _ D I S A B L E D i s 0 . I N F O : T r u s t M s i i s 0 . I N F O : A l l o w L a x V a l i d a t i o n F l a g s i s 0 . E R R O R : S i n c e M S I 3 . 0 w i l l b l o c k i n s t a l l a t i o n o f m a j o r u p g r a d e p a t c h e s w i t h s e q u e n c i n g i n f o r m a t i o n , c r e a t i o n o f s u c h p a t c h e s i s b l o c k e d . E R R O R : T h e L a s t E r r o r R e c e i v e d i s : 0 I N F O : T e m p o r a r y f o l d e r i s a b o u t t o b e c l e a n e d o u t a n d d e l e t e d : C : \ D O C U M E ~ 1 \ s a n j a y \ L O C A L S ~ 1 \ T e m p \ ~ p c w _ t m p . t m p E R R O R : I n t e r n a l P a t c h W i z E r r o r o c c u r r e d . E R R O R : T h e L a s t E r r o r R e c e i v e d i s : - 1 0 7 2 8 0 3 4 5 4 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problem in patch creation
Hi, I am creating a patch for my installer. I have my base version installer and new installer. when I try to create patch, It fails(logs attached). Does anybody have any idea ? Thanks Regards, Sanjay Rao ĆæĆ¾ * * * * * L o g s t a r t i n g : 2 0 1 0 - 0 7 - 0 9 1 3 : 1 7 : 1 9 * * * * * I N F O : U s i n g P c p P a t h : E : \ W i x T e s t \ W i x I n s t a l l e r \ u p d a t e . p c p . I N F O : U s i n g T e m p o r a r y D i r e c t o r y : C : \ D O C U M E ~ 1 \ s a n j a y \ L O C A L S ~ 1 \ T e m p \ ~ p c w _ t m p . t m p . I N F O : P a s s e d a l l o f t h e m a i n c o n t r o l p a r a m e t e r v a l i d a t i o n t o P a t c h W i z , n o w c a l l i n g t h e n e x t 5 p h a s e s . I N F O : P h a s e I : E n t e r e d v a l i d a t i o n a n d p r o c e s s i n g p h a s e . I N F O : V a l i d a t i o n o f P c p . I N F O : M i n i m u m R e q u i r e d M s i V e r s i o n i s 1 0 0 . I N F O : S E Q U E N C E _ D A T A _ G E N E R A T I O N _ D I S A B L E D i s 0 . I N F O : L i s t O f P a t c h G U I D s T o R e p l a c e i s . I N F O : L i s t O f T a r g e t P r o d u c t C o d e s i s . I N F O : M s i F i l e T o U s e T o C r e a t e P a t c h T a b l e s i s . I N F O : P a t c h G U I D i s { E 1 F 9 1 D D A - B 6 2 4 - 4 8 A 5 - 9 5 A C - 9 2 3 F F 7 C F 3 E 3 8 } . I N F O : P a t c h O u t p u t P a t h i s E : \ W i x T e s t \ W i x I n s t a l l e r \ B a t o n E n t e r p r i s e P a t c h _ v 3 . 0 . 3 _ r e v 1 3 2 8 5 . m s p . I N F O : P a t c h S o u r c e L i s t i s . I N F O : P A T C H _ C A C H E _ D I R i s . I N F O : A l l o w D u a l P a t c h i s 0 . I N F O : A l l o w P r o d u c t C o d e M i s m a t c h e s i s 0 . I N F O : A l l o w P r o d u c t V e r s i o n M a j o r M i s m a t c h e s i s 0 . I N F O : A p i P a t c h i n g S y m b o l F l a g s i s 0 . I N F O : D o n t R e m o v e T e m p F o l d e r W h e n F i n i s h e d i s 0 . I N F O : I n c l u d e W h o l e F i l e s O n l y i s 0 . I N F O : P A T C H _ C A C H E _ E N A B L E D i s 0 . I N F O : O p t i m i z e P a t c h S i z e F o r L a r g e F i l e s i s 0 . I N F O : M E T A _ D A T A _ G E N E R A T I O N _ D I S A B L E D i s 0 . I N F O : T r u s t M s i i s 0 . I N F O : A l l o w L a x V a l i d a t i o n F l a g s i s 0 . E R R O R : U p g r a d e d I m a g e s . M s i P a t h ' d : \ s i t e s _ p r e m \ t r u n k \ W i x T e s t \ W i x I n s t a l l e r \ B a t o n E n t e r p r i s e S e t u p _ v 3 . 0 . 3 _ r e v 1 3 2 3 9 . m s i ' i s m a r k e d a s h a v i n g c o m p r e s s e d f i l e s ( P I D _ W O R D C O U N T p r o p e r t y o f S u m m a r y I n f o r m a t i o n s t r e a m ) . P a t c h W i z i s u n a b l e t o p a t c h f i l e s c o m p r e s s e d i n a c a b i n e t . E R R O R : T h e L a s t E r r o r R e c e i v e d i s : 0 I N F O : T e m p o r a r y f o l d e r i s a b o u t t o b e c l e a n e d o u t a n d d e l e t e d : C : \ D O C U M E ~ 1 \ s a n j a y \ L O C A L S ~ 1 \ T e m p \ ~ p c w _ t m p . t m p E R R O R : I n t e r n a l P a t c h W i z E r r o r o c c u r r e d . E R R O R : T h e L a s t E r r o r R e c e i v e d i s : - 1 0 7 2 8 0 3 5 6 2 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to select the previously installed features by default while upgrading
Hi, I have a installer which has three independent features. user can select any of them. when user upgrades to newer version, how can I select only those features which were installed with previous version ? Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Feature specific Custom Actions
use this condition to execute your custom action Custom Action='CutomActionID' After='InstallInitialize'![CDATA[(FeatureID2)]] /Custom -Sanjay Rao Boris Klyachko wrote: Hi there I need to perform some custom actions only if a particular feature of my product has been selected. If the product has been installed without that feature there is no need for Custom Action. Can anyone please provide an example of how to do it? And there is more complex scenario: The product has several features. If the user selects typical install all of the features are installed and a Custom Action associated with one of the features needs to be invoked. But if the same feature is selected from custom install there is no need for a Custom Action. Would it be possible to script these conditions in WIX? Thanks in advance Boris -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to disable/remove Entire feature will be installed on local hard drive option from feature selection tree
Hi All, I have a installer which has 3 features. These features do not have sub features. Can I disable Entire feature will be installed on local hard drive option from feature selection tree. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] services stops at logoff
Hi Blair, I got the issue in my service itself. Thanks for your reply. -Sanjay Blair wrote: Default value is no. On a test computer, if you use the sc create command to register the service, and then start it, does it still stop upon logoff? If so, that would rule out Windows Installer/WiX as a cause. There's nothing that appears odd in the registration that would cause that, so I'm wondering about code in the service itself. -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Monday, July 05, 2010 10:50 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] services stops at logoff ServiceInstall Id='serviceId' DisplayName='ServiceDisplayName' Name='ServiceName' Start='auto' ErrorControl='normal' Type='ownProcess' Vital = 'yes' Explicitally I did not marked the service as interactive. I do not have idea, what is default value of Interacive in this element. Type='ownProcess' makes any difference ? Thanks for your reply. Blair wrote: Do the services happen to be marked Interactive? -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Monday, July 05, 2010 10:18 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] services stops at logoff Hi All, I have a installer which installs 3 services(auto-start). services stops when user logoff. Can I install services in such a way that services won;t stop at logout. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] wix installer is very slow.
Hi All, I have a installer which installs large number of files(~5 files). It takes a lot of time to install. However it's installation time is tolerable. But while upgrading it takes intolerable amount of time(more than 1 hour sometimes). It also takes lot of time(1 hour) in un installation. - I want make this time down to around 10-15 minutes. What are possible schemes for that ? - Is there any mechanism to define force upgrade for each component ? Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Go back to previous version
Hi, We use msi installer for our software and we are using WIX toolset for that. After upgrading to newer version of our software sometimes users of our software does not find themselves convenient with new version and they want to go back to previous version. Is there any mechanism in WIX for go back to previously installed version of software. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Go back to previous version
but my newer version of application generates/modifies some files in installation directory at target machine which may not be appropriate for older version. These files not present in installer. these files are generated when application runs after installation. I want these files also in previous state. I want to go to the previous state of the installation directory. Pally Sandher wrote: WiX != Windows Installer. You would do well not to confuse them or use them interchangeably. If you're using Major Upgrade functionality remove the Upgrade table entries and/or your Launch Condition which block installing an older version. If you're not using Major Upgrade functionality, educate your users on the use of Add/Remove Control Panel (Programs Features in Vista Win7). Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 11:34 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Go back to previous version Hi, We use msi installer for our software and we are using WIX toolset for that. After upgrading to newer version of our software sometimes users of our software does not find themselves convenient with new version and they want to go back to previous version. Is there any mechanism in WIX for go back to previously installed version of software. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Go back to previous version
If I put files in CommonAppData, In that case also files generated by newer version are not valid for older version. Is there any way to backup older files/setting up a restore point for a particular directory. Pally Sandher wrote: Then your installer should've been written with cleaning up those files in mind before you released it and/or those files which need modified after install shouldn't be held in the installation directory if it's a per-machine installation, they should be in CommonAppData or somewhere similar as per Microsoft's guidelines. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 12:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Go back to previous version but my newer version of application generates/modifies some files in installation directory at target machine which may not be appropriate for older version. These files not present in installer. these files are generated when application runs after installation. I want these files also in previous state. I want to go to the previous state of the installation directory. Pally Sandher wrote: WiX != Windows Installer. You would do well not to confuse them or use them interchangeably. If you're using Major Upgrade functionality remove the Upgrade table entries and/or your Launch Condition which block installing an older version. If you're not using Major Upgrade functionality, educate your users on the use of Add/Remove Control Panel (Programs Features in Vista Win7). Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 11:34 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Go back to previous version Hi, We use msi installer for our software and we are using WIX toolset for that. After upgrading to newer version of our software sometimes users of our software does not find themselves convenient with new version and they want to go back to previous version. Is there any mechanism in WIX for go back to previously installed version of software. Regards, Sanjay Rao -- -- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https
Re: [WiX-users] wix installer is very slow.
-I changes product code everytime. I do not changes upgradecode. after splitting it into two msi files is there any way to combine them into single file, so that user do not need to download two files and install them separately. suppose I have two msi files 1. constant.msi 2. variable.msi I want to make a single file containing these two, which detects whether constant.msi installed or not. - if yes, do not install constant.msi. install variable.msi only. - if no install both msi files. Pally Sandher wrote: This is a known issue with *Windows Installer* patching upgrades. Windows Installer WiX are not the same thing. I'm guessing you're using Major Upgrades to upgrade (correct me if I'm wrong). Take a look at a verbose log when upgrading or uninstalling see where it's taking so long. My guess will be between CostInitialize CostFinalize since it checks what is installed before it does anything. - I want make this time down to around 10-15 minutes. What are possible schemes for that ? Install fewer files. A couple of years ago I separated our company's main product into 2 MSI's, one installs most of the files (5000+, approx 1 GB installed) but changes very very rarely. The other installs the actual application binaries other things which change with each release (1600+ files, 220 MB installed). This makes patching upgrading work much faster since there are a lot less things for Windows Installer to have to check every time a user runs a patch or upgrade. - Is there any mechanism to define force upgrade for each component ? What do you mean by force upgrade? Major Upgrades can force every component to be reinstalled regardless of the current state if you schedule RemoveExistingProducts before InstallInitialize rather than after but this brings additional considerations with regards to the Component Rules. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 11:20 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] wix installer is very slow. Hi All, I have a installer which installs large number of files(~5 files). It takes a lot of time to install. However it's installation time is tolerable. But while upgrading it takes intolerable amount of time(more than 1 hour sometimes). It also takes lot of time(1 hour) in un installation. - I want make this time down to around 10-15 minutes. What are possible schemes for that ? - Is there any mechanism to define force upgrade for each component ? Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] installer for both platforms(32 bit and 64 bit)
Can we use a single MSI installer on both platform(32 bit and 64 bit) ? -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] installer for both platforms(32 bit and 64 bit)
Okie... simple and direct question what is the default value of 'platform' attribute in Package element ? Thanks for all your help. Pally Sandher wrote: An x86 MSI will install on x86 x64 platforms. An x64 MSI will only install on x64 platforms. You cannot write to x64 locations in an x86 MSI. Windows Installer simply does not support it will stop you in your tracks if you even try it. Essentially your question is far too vague for a simple answer. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 14:08 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] installer for both platforms(32 bit and 64 bit) Can we use a single MSI installer on both platform(32 bit and 64 bit) ? -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Go back to previous version
Any body have any idea about this ? Sanjay Rao wrote: If I put files in CommonAppData, In that case also files generated by newer version are not valid for older version. Is there any way to backup older files/setting up a restore point for a particular directory. Pally Sandher wrote: Then your installer should've been written with cleaning up those files in mind before you released it and/or those files which need modified after install shouldn't be held in the installation directory if it's a per-machine installation, they should be in CommonAppData or somewhere similar as per Microsoft's guidelines. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 12:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Go back to previous version but my newer version of application generates/modifies some files in installation directory at target machine which may not be appropriate for older version. These files not present in installer. these files are generated when application runs after installation. I want these files also in previous state. I want to go to the previous state of the installation directory. Pally Sandher wrote: WiX != Windows Installer. You would do well not to confuse them or use them interchangeably. If you're using Major Upgrade functionality remove the Upgrade table entries and/or your Launch Condition which block installing an older version. If you're not using Major Upgrade functionality, educate your users on the use of Add/Remove Control Panel (Programs Features in Vista Win7). Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: 07 July 2010 11:34 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Go back to previous version Hi, We use msi installer for our software and we are using WIX toolset for that. After upgrading to newer version of our software sometimes users of our software does not find themselves convenient with new version and they want to go back to previous version. Is there any mechanism in WIX for go back to previously installed version of software. Regards, Sanjay Rao -- -- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users
[WiX-users] services stops at logoff
Hi All, I have a installer which installs 3 services(auto-start). services stops when user logoff. Can I install services in such a way that services won;t stop at logout. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] services stops at logoff
ServiceInstall Id='serviceId' DisplayName='ServiceDisplayName' Name='ServiceName' Start='auto' ErrorControl='normal' Type='ownProcess' Vital = 'yes' Explicitally I did not marked the service as interactive. I do not have idea, what is default value of Interacive in this element. Type='ownProcess' makes any difference ? Thanks for your reply. Blair wrote: Do the services happen to be marked Interactive? -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Monday, July 05, 2010 10:18 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] services stops at logoff Hi All, I have a installer which installs 3 services(auto-start). services stops when user logoff. Can I install services in such a way that services won;t stop at logout. Regards, Sanjay Rao -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Changing the text of the license agreement dialog
you can do it by defining a WixVariable element under product element. WixVariable Id=WixUILicenseRtf Value=res/License.rtf / Adi Sashkis wrote: Hi all, It's my first time using Wix and I am currently working on my installer's UI. In order to produce my UI I am using the UI Wizard with the WixUI_InstallDir theme. My Question is - How do i change the text of the license agreement of the theme to be my own text of the license ? Thank you in advance, Adi Sashkis.* * -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction on Uninstall but not upgrade
use condition (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=ALL) cge wrote: I have a custom action that should only run on uninstall, but not run during an upgrade. After browsing the list archives and other sites, I came up with the following: Custom Action='SetUnDeployParams' After='MsiUnpublishAssemblies'Installed AND (REMOVE=ALL) AND NOT (UPGRADEFOUND OR UPGRADINGPRODUCTCODE)/Custom Custom Action='UnDeploy' After='SetUnDeployParams'Installed AND (REMOVE=ALL) AND NOT (UPGRADEFOUND OR UPGRADINGPRODUCTCODE)/Custom But the action is still being run during an upgrade. I can't figure out why, given these log exerpts: MSI (c) (AC:34) [13:59:18:455]: Doing action: FindRelatedProducts Action 13:59:18: FindRelatedProducts. Searching for related applications Action start 13:59:18: FindRelatedProducts. FindRelatedProducts: Found application: {4EBE949A-5DEE-11DF-A3C0-4BE0DED72085} MSI (c) (AC:34) [13:59:18:455]: PROPERTY CHANGE: Adding UPGRADEFOUND property. Its value is '{4EBE949A-5DEE-11DF-A3C0-4BE0DED72085}'. Action ended 13:59:18: FindRelatedProducts. Return value 1. ... MSI (s) (18:C0) [13:59:21:267]: PROPERTY CHANGE: Adding UPGRADINGPRODUCTCODE property. Its value is '{C17B34D1-C56E-4BD7-8E2F-D20B06902E17}'. ... Action ended 13:59:21: MsiUnpublishAssemblies. Return value 0. MSI (s) (18:C0) [13:59:21:314]: Doing action: SetUnDeployParams Action 13:59:21: SetUnDeployParams. Action start 13:59:21: SetUnDeployParams. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VB script CA fails only on my laptop
your custom action execution failed. you can use 'm MSIProcessMessage' to insert log messages in msi log file. Use this function in your custom action code to debug exactly what is failing on your system. use following command to create logs - |msiexec /i your_installer.msi /l*v logs.txt Sanjay Rao |Andy.Kruger wrote: I have sequenced following VB script CA in the InstallDirDlg that validates the Install path entered by the user. CustomAction Id=ValidePath Return=check VBScriptCall=Main Property=VALIDATEPATH/ And on the Next button, Publish Event=DoAction Value=ValidatePath1/Publish I had no problems running the CA on any computers so far but on one single laptop, the moment installer hits the VB script CA during install, it fails with error code 2896 (from the debug log) I have checked the WMI services and upgraded the Windows installer service to 4.5. But no luck. Any ideas??? Why does the CA do not work on this system when it works on all other boxes?? - Andy BuildDeployment Schneider Electric -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VB script CA fails only on my laptop
sorry for typing mistake. function name is 'MSIProcessMessage'. Sanjay Rao wrote: your custom action execution failed. you can use 'm MSIProcessMessage' to insert log messages in msi log file. Use this function in your custom action code to debug exactly what is failing on your system. use following command to create logs - |msiexec /i your_installer.msi /l*v logs.txt Sanjay Rao |Andy.Kruger wrote: I have sequenced following VB script CA in the InstallDirDlg that validates the Install path entered by the user. CustomAction Id=ValidePath Return=check VBScriptCall=Main Property=VALIDATEPATH/ And on the Next button, Publish Event=DoAction Value=ValidatePath1/Publish I had no problems running the CA on any computers so far but on one single laptop, the moment installer hits the VB script CA during install, it fails with error code 2896 (from the debug log) I have checked the WMI services and upgraded the Windows installer service to 4.5. But no luck. Any ideas??? Why does the CA do not work on this system when it works on all other boxes?? - Andy BuildDeployment Schneider Electric -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Looking for assistance using WIX to rollbackan install upon failure of a custom action.
set your custom action attributes as below - return = check if your custom action return non-zero value the installation fails and roll backs. Peter Shirtcliffe wrote: Add this: InstallExecuteSequence Custom Action=your custom action's Id Before=InstallFinalize / /InstallExecuteSequence If you already have an installexecutesequence then just add the Custom element anywhere inside that instead. Make sure your existing CustomAction element has the Execute attribute set to deferred. If you need it, add a condition inside the Custom element to prevent the action running during uninstallation or repair, unless the action already handles this. -Original Message- From: michael_brindam...@dell.com [mailto:michael_brindam...@dell.com] Sent: 11 May 2010 01:41 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Looking for assistance using WIX to rollbackan install upon failure of a custom action. Well, sort of, but it appears I've made a mistake - The custom action currently is set to run after InstallFinalize, so I guess at that point, it's sealed. I need it to run after files are installed but before InstallFinalize I think... How could I configure it to do that? Thanks! Mike Michael Brindamour Dell | Software Engineer 300 Innovative Way Nashua, NH 03062 USA michael_brindam...@dell.com office: 1.603.589.5845 -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, May 10, 2010 7:15 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action. If your custom action returns a failure code, the custom action is scheduled before InstallFinalize, and you have not marked the custom action to ignore the return codes, than that custom action will cause the entire transaction to rollback and return the failure. Is that what you are asking? -Original Message- From: michael_brindam...@dell.com [mailto:michael_brindam...@dell.com] Sent: Monday, May 10, 2010 12:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action. Hi folks, Forgive me if this is posted on a FAQ somewhere, but after an hour or so of googling, I was unable to find the answer. I have implemented a custom action to launch an executable I install and check some connectivity prior to performing additional steps. I would like to, if said Custom Action fails, rollback the installation to that point. Can anyone help point me in the right direction? Thanks! Mike Michael Brindamour -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users /pre BR style=font-size:4px; a href = http://www.sdl.com;img src=http://www.sdl.com/images/email logo_150dpi-01.png alt=www.sdl.com border=0//a BR font face=arial size=2 a href = http://www.sdl.com; style=color:005740; font-weight: boldwww.sdl.com/a BR BR font face=arial size=1 color=#736F6E bSDL PLC confidential, all rights reserved./b If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.BR SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.BR Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. /font -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Avoid install on removable drives
this C++ custom action can check drive type. use a C++ custom action and display a error message if drive is not valid. //char AppPath[_MAX_PATH]; char appName[_MAX_PATH]; char appDir[_MAX_PATH]; char appDrive[_MAX_PATH]; _splitpath_s( cPath, appDrive, _MAX_PATH, appDir, _MAX_PATH, appName, _MAX_PATH, NULL, 0 ); UINT drivetype = GetDriveType(appDrive); if(drivetype == DRIVE_FIXED) { MsiSetProperty (hInstall, DRIVEALLOWED, 1); } else { MsiSetProperty (hInstall, DRIVEALLOWED, 0); } Andy.Kruger wrote: Anybody??? - Andy MSI Developer Schneider Electric -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] installer is not deleting start menu entries, registry values and services installed
Hi, when I run uninstallation on windows XP, it does not deletes start menu entries, registry values, and services installed at this machine. Please suggest something if u find anything wrong in my code. code for start menu entries is - !-- ***start menu shortcuts at target machine *** -- DirectoryRef Id = 'AppSMFolder' !--shortcut only for VM-- Component Id = 'BatonSMShortcutCompVM' Guid = 'D566816A-5A50-4AF6-8614-61E309104A96' !--open baton directly-- util:InternetShortcut Id=BatonOpen Name=Open BATON Target=http://localhost:[VMPORT]; Type=url / /Component !-- common shortcuts for VM and CS -- Component Id = 'BatonSMShortcutCompVMCS' Guid = 'A065E91B-4E8E-45D1-BEEE-C0F42BD066E5' !--shortcut to Baton Service Manager -- Shortcut Id = 'BatonServiceManager' Name = 'BATON Service Manager' Target = '[INSTALLDIR]Python24\bsm.exe' Arguments = 'quot;[INSTALLDIR]Scripts\bsm.pywquot;' Description = 'BATON Service Manager' Icon = 'bsmIcon' / /Component !-- common shortcuts for VM CS and DB -- Component Id = 'BatonSMShortcutComp' Guid = '0E76B6B2-6050-4BCE-9664-3DCF2DD0B169' !--shortcut to Baton API manual -- Shortcut Id = 'BatonAPIManual' Name = 'BATON API Manual' Target = '[INSTALLDIR]Docs\Win32\BatonAPIHelp.pdf' Description = 'BATON API Manual' / !--shortcut to Baton API Samples -- Shortcut Id = 'BatonAPISamples' Name = 'BATON API Samples' Target = '[INSTALLDIR]Docs\BatonAPISamples\index.htm' Description = 'BATON API Samples' / !--shortcut to Baton installation guide -- ?if $(var.batonedition) = enterprise ? Shortcut Id = 'BatonInstallationGuide' Name = 'Installation Guide' Target = '[INSTALLDIR]Docs\Win32\BatonEnterpriseInstallationGuide.pdf' Description = 'BATON Installation Guide' / ?else? Shortcut Id = 'BatonInstallationGuide' Name = 'Installation Guide' Target = '[INSTALLDIR]Docs\Win32\BatonStandardInstallationGuide.pdf' Description = 'BATON Installation Guide' / ?endif? !--shortcut to Baton license request form -- Shortcut Id = 'BatonLicenseRequestForm' Name = 'License Request Form' Target = '[INSTALLDIR]Docs\Win32\BatonLicenseRequestForm.doc' Description = 'License Request Form' / !--shortcut to Baton online help -- Shortcut Id = 'BatonOnlineHelp' Name = 'Online Help' Target = '[INSTALLDIR]Docs\Win32\WebHelp\Index.htm' Description = 'Online Help' / !--shortcut to Baton Datasheet -- Shortcut Id = 'BatonDatasheet' Name = 'Product Datasheet' Target = '[INSTALLDIR]Docs\BatonDatasheet.pdf' Description = 'Product Datasheet' / !--open baton website-- util:InternetShortcut Id=BatonWebsite Name=Product Website Target=http://baton.interrasystems.com; Type=url / !--shortcut to uninstall product -- Shortcut Id = 'UninstallProduct' Name = 'Uninstall Baton' Target = '[System64Folder]msiexec.exe' Arguments = '/x [ProductCode]' Description = 'Remove Baton from system' / !--shortcut to services -- Shortcut Id = 'WindowsServices' Name = 'Windows Services' Target = '[System64Folder]services.msc' Arguments = '/s' Description = 'Windows Services' / RemoveFolder Id = 'AppSMFolder' On = 'uninstall'/ RegistryValue Root = 'HKLM' Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}' Name = 'installed' Type = 'integer' Value = '1' KeyPath = 'yes' Permission GenericAll=yes User=[USERGROUP_USERS] / /RegistryValue RegistryValue Root = 'HKLM' Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}' Name = 'InstallLocation' Type = 'string' Value = '[BATONSYSDRIVE]' Permission GenericAll=yes User=[USERGROUP_USERS] /
[WiX-users] File copying issue
Hi, I have a installer, which needs to do following steps - 1. Detect an already installed version. 2. if it exists, stop services. 3. install new files. 4. copy a file created by older version software into new directory. 5. start services. For step4 I defined a custom action in C++ dll as follows - CustomAction Id='CopyFileDatabaseCA' BinaryKey='IPValidationdll' DllEntry='copyFileDB' Execute='deferred' Impersonate='no' Return = 'check'/ *C++ function defined as follows - * __declspec(dllexport) UINT __stdcall copyFileDB(MSIHANDLE hInstall) { try { char oldBatonSysDrive[MAX_PATH]; DWORD oldValueLen = MAX_PATH; UINT uiResult = MsiGetProperty (hInstall, OLDBATONSYSDRIVE, oldBatonSysDrive, oldValueLen); char cNewPath[MAX_PATH]; DWORD newPathLen = MAX_PATH; MsiGetProperty (hInstall, BATONSYSDRIVE, cNewPath, newPathLen); MessageBox(NULL, oldBatonSysDrive, Baton Install, MB_OK); if( oldValueLen 0) { //some code to copy file } return ERROR_SUCCESS; } catch(...) { return ERROR_SUCCESS; } } line highlighted in red is not able to pick the value of property, whilw other custom actions are able to find this value. if remove Execute=deffered from this custom action then this custom action is also able to pick value. Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] version upgrade problem
Hi All, I am using following code for installer creation. This installer does not detect the existence of previous version of itself. Please help me if somebody has to share something. Product Name='!(loc.ApplicationName) $(var.EditionName) $(var.version)' Id='*' UpgradeCode='$(var.Upgradecode)' Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='!(loc.CompanyName)' Package Id='*' Keywords='!(loc.PackageDesc)' Description=!(loc.PackageDesc) InstallPrivileges=elevated InstallScope=perMachine Comments='!(loc.PackageComments)' Manufacturer='!(loc.CompanyName)' InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' / Media Id = '1' Cabinet = 'baton.cab' EmbedCab = 'yes'/ Upgrade Id=$(var.Upgradecode) !-- Detect any newer version of this product -- UpgradeVersion Minimum=$(var.Version) IncludeMinimum=no OnlyDetect=yes Language=1033 Property=NEWPRODUCTFOUND / !-- Detect and remove any older version of this product -- UpgradeVersion Maximum=$(var.Version) IncludeMaximum=yes OnlyDetect=no Language=1033 Property=OLDPRODUCTFOUND / /Upgrade /Product Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Show Dialog from Custom Action
Hi All, I am using following code for installer creation. It does not detect the existence of previous version of itself. Please help me if somebody has to share something. Product Name='!(loc.ApplicationName) $(var.EditionName) $(var.version)' Id='*' UpgradeCode='$(var.Upgradecode)' Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='!(loc.CompanyName)' Package Id='*' Keywords='!(loc.PackageDesc)' Description=!(loc.PackageDesc) InstallPrivileges=elevated InstallScope=perMachine Comments='!(loc.PackageComments)' Manufacturer='!(loc.CompanyName)' InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' / Media Id = '1' Cabinet = 'baton.cab' EmbedCab = 'yes'/ Upgrade Id=$(var.Upgradecode) !-- Detect any newer version of this product -- UpgradeVersion Minimum=$(var.Version) IncludeMinimum=no OnlyDetect=yes Language=1033 Property=NEWPRODUCTFOUND / !-- Detect and remove any older version of this product -- UpgradeVersion Maximum=$(var.Version) IncludeMaximum=yes OnlyDetect=no Language=1033 Property=OLDPRODUCTFOUND / /Upgrade /Product Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditions for Uninstall/Remove Only
try out this one. (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=ALL) for more details u can see http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi -Sanjay little.forest wrote: How can I create conditions for a custom action to run for Uninstall/Remove only? If I use condition 'Installed' then the CA runs in Repair mode. If I use condition 'Remove=ALL' then the CA doesn't run in Repair, but it doesn't run in Uninstall/Remove either. Thanks. __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Service Control / Service Install Wix 3.0/3.5 ICE03 Error
make a separate one more component having servicecontrol' element only. On 18-03-2010 10:30, Michael Schlitt wrote: Does anyone know how to get past the following error in Wix 3.0/3.5 for installing a service. The below code works fine in Wix 2.0. Has there been a major change that I am unaware of? ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:6 ICE03: Invalid identifier; Table: ServiceInstall, Column: ServiceInstall, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:7 Component Id=BuildServiceComponent Guid=470cdb65-5244-4cbd-b37f-c8a0e29a8368 File Id=BuildService.exe Name=BuildService.exe Vital=yes KeyPath=yes DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe / File Id=BuildService.exe.config Name=BuildService.exe.config Vital=yes KeyPath=no DiskId=1 Source=$(env._NTTREE)\winbat\BuildService.exe.config / ServiceControl Id=Build Service Name=Build Service Start=install Stop=both Remove=uninstall Wait=yes/ ServiceInstall Id=Build Service Name=Build Service DisplayName=Build Service Type=ownProcess Interactive=no Start=auto ErrorControl=ignore Description=Build Service Account=LocalSystem / /Component Thank you, -Michael Schlitt -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2754 - Release Date: 03/17/10 23:33:00 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to detect whether a service is running or not
This would not be the issue, because it is working on all other platforms except Windows server 2008. I am using Wix 3.0. On 12-03-2010 10:21, Wilson, Phil wrote: That previous post might be a bit misleading, and it always helps to look at the MSI SDK docs. The Name in the ServiceControl table isn't the exe name - it's actually the internal name of the service. Is that perhaps the issue? Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, March 11, 2010 11:08 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to detect whether a service is running or not This is not working on Windows server 2008, while un-installtion. On 11-03-2010 22:42, puyo puy wrote: ServiceControl Id='MyServiceControl' Name='MyServiceExeName' Start='install' Stop='both' Remove='uninstall' / mean: start the service on install, remove the service when the product is uninstalled, and stop the service both on install and uninstall. Refer to ServiceControl Element in Wix help file for more details. --- On Fri, 12/3/10, Sanjay Raos...@noida.interrasystems.com wrote: From: Sanjay Raos...@noida.interrasystems.com Subject: [WiX-users] How to detect whether a service is running or not To: wix-users@lists.sourceforge.net Received: Friday, 12 March, 2010, 1:40 PM Hi, I have written a msi installer, which installs three services. It work fine, but it does not stops/removes these services when I uninstall this installer from windows server 2008. Is anybody have any idea ? Is there any way using WIX, to know that a particular service is running or not. In this way I can prompt user to manually stop the services. Any type of help in this reagard would be greatly appreciated. Regards, Sanjay Rao -- Download Intel(r) Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2739 - Release Date: 03/11/10 13:50:00 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel
[WiX-users] How to detect whether a service is running or not
Hi, I have written a msi installer, which installs three services. It work fine, but it does not stops/removes these services when I uninstall this installer from windows server 2008. Is anybody have any idea ? Is there any way using WIX, to know that a particular service is running or not. In this way I can prompt user to manually stop the services. Any type of help in this reagard would be greatly appreciated. Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to detect whether a service is running or not
This is not working on Windows server 2008, while un-installtion. On 11-03-2010 22:42, puyo puy wrote: ServiceControl Id='MyServiceControl' Name='MyServiceExeName' Start='install' Stop='both' Remove='uninstall' / mean: start the service on install, remove the service when the product is uninstalled, and stop the service both on install and uninstall. Refer to ServiceControl Element in Wix help file for more details. --- On Fri, 12/3/10, Sanjay Raos...@noida.interrasystems.com wrote: From: Sanjay Raos...@noida.interrasystems.com Subject: [WiX-users] How to detect whether a service is running or not To: wix-users@lists.sourceforge.net Received: Friday, 12 March, 2010, 1:40 PM Hi, I have written a msi installer, which installs three services. It work fine, but it does not stops/removes these services when I uninstall this installer from windows server 2008. Is anybody have any idea ? Is there any way using WIX, to know that a particular service is running or not. In this way I can prompt user to manually stop the services. Any type of help in this reagard would be greatly appreciated. Regards, Sanjay Rao -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2739 - Release Date: 03/11/10 13:50:00 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] windows services installed using wix installer not removed on windows server 2008
Hi, I have a installer which works fine on windows XP and earlier. this installer installs some services on target machine. if target machine has windows server 2008, then while uninstalling my product installer does not removes services from target machine. Please advice me if any body had experienced this issue earlier. Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] list of all standard control events
Hi, I want to get a list of all standard control events used in publish element. Can anybody help me out ? Regards, Sanjay Rao -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to remove a option from feature selection tree
Hi, I don't want to have a option entire feature will be installed on your hard drive on my each feature in feature selection tree. How can I get rid of this ? Regards, Sanjay Rao -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to add a custom dialog in uninstall process using Wix
Hi, I want to add a dialog box into my installer's uninstalling process. custom dialog have a check box, which will ask user to delete/keep user setting data of the application. User setting data files usually created in application installation directory after installing the application. Any help would be appreciated. Thanks, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a custom dialog in uninstall process using Wix
I am not aware, how to show dialogs via custom actions. Please help with some sample code. Thanks Regards, Sanjay Rao Sebastian Brand (Instyler Software) wrote: You may only show dialogs during uninstallation via a custom action, the dialogs from the msi won't be shown. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, January 07, 2010 10:52 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to add a custom dialog in uninstall process using Wix Hi, I want to add a dialog box into my installer's uninstalling process. custom dialog have a check box, which will ask user to delete/keep user setting data of the application. User setting data files usually created in application installation directory after installing the application. Any help would be appreciated. Thanks, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list mailto:WiX-users@lists.sourceforge.net WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] when files have been actually removed from install directory during uninstall process
Hi, I want to execute a custom action during uninstall process. Where should I put this in installexecutesequence ? Regards, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] icon change of the installer
Hi All, I have two issues for which I have not found any solution- 1. I need to change the icon of created MSI file using WIX. 2. I need to change the msi icon shown in title bar of dialogs during setup process. Can anybody help me on this ? Thank you very much in advance. If it is not possible using WIX, then is there any way to wrap my msi installer into an executable having a customized icon and unchanged GUI ? Regards, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users