Re: [WiX-users] Vista -Error in SchedServiceConfig
Bahar Shah wrote: Should I assume this to be an Vista specfic issue ? Very likely. Can you open a bug at http://sourceforge.net/tracker/?group_id=105970atid=642714, preferably attaching an .msi that reproduces the problem? -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Uninstalling does nothing
I am trying to make my .msi uninstall my app if its already on the users computer, the problem is I don't know what makes that happen. Is there a special property or something I need to do in order to make it uninstall the app -- View this message in context: http://www.nabble.com/Uninstalling-does-nothing-tf2104998.html#a5801674 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstalling does nothing
If your app wasn't installed by an MSI before hand, you'll need a custom action to handle this for you. You will also need a way of conditioning the custom action to run only when your app is found. Searching for a registry key might be something to look into. If you had previously installed with an MSI and included an upgrade code, then the WiX tutorial can help you with upgrading that version. Dana On 8/14/06, Magus [EMAIL PROTECTED] wrote: I am trying to make my .msi uninstall my app if its already on the userscomputer, the problem is I don't know what makes that happen.Is there aspecial property or something I need to do in order to make it uninstall the app--View this message in context: http://www.nabble.com/Uninstalling-does-nothing-tf2104998.html#a5801674Sent from the wix-users forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___WiX-users mailing listWiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSBuild Tasks
Would it be possible for this version of wix.targets to be adopted by the team as the one that is currently distributed doesn't work with multiple wsx files? Neil PS Thanks Michael Luke you saved me lots of time! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Luke Sent: 12 May 2006 09:22 To: [EMAIL PROTECTED]; 'Francis Kam'; 'Michael F. Collins, III' Cc: 'WiX-users' Subject: RE: [WiX-users] MSBuild Tasks Hi Rob, I made lots of changes to the MSBuild wix.targets a while back to fix a few bugs, but got stymied by the (to me) ridiculous requirement of downloading a pdf, printing it out, filling it in in ink and posting it thousands of miles to Seattle, just so I could submit the changes to the project. I've worked on many open source projects, and this is the first one I've seen with such a requirement. Anyway, I'm not going to sign and post the contributor's agreement, because it's way too much hassle. Attached is the modified .targets file, and I relinquish all rights blah di blah for my changes. This .targets file fixes the following issues: - Made incremental builds work correctly (a task will only run if source files have changed) - Allowed multiple wxs files to be used in one msi - Added BeforeXXX and AfterXXX targets for each action to allow for build custom tasks. This is consistent with Microsoft's existing Team Build targets. - Moved the path to $(MSBuildExtensionsPath)\Windows Installer XML\Wix.targets (c:\program files\MsBuild\Windows Installer XML) to be consistent with MsBuild standards. The wixtasks.dll and wix.targets files should both be installed to this location. To use it, you simply create an MsBuild project file (such as the MsBuild.proj attached) and pass that to MsBuild. Michael Luke [EMAIL PROTECTED] wrote: Quick piece of information. The MSBuild tasks were written by somebody quickly and just handed to us. There hasn't been any more maintenance on the code since then. At this point in time, I expect you know more about how MSBuild works than anyone on the core WiX development team. Your bugs and suggestions would be much appreciated. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Kam Sent: Thursday, May 11, 2006 3:52 PM To: Michael F. Collins, III Cc: WiX-users Subject: Re: [WiX-users] MSBuild Tasks Thanks for the reply. I've modified the wix.targets for multiple output support and it seems to be working fine. I'm rather inexperienced with MSBuild, so maybe I'm just missing something, but isn't the only way to get an array of strings to use item groups instead of properties? You really should be able to define more than one preprocessor variable from the commandline and it seems to me the only way is to change DefineConstants to an item group. I've done this with minimal negative side-effects so far. Anyhow, it's good to see I'm not crazy, and this is a path that others have considered and followed before me. Just in case someone else is interested, what I ended up doing for multiple output support was changing CompileObjOutput to an ItemGroup, and then including: @(Compile-'$(IntermediateOutputPath)%(filename)$(IntermediateExt)') The Compile target's output of course then becomes: @(CompileObjOutput) Then I changed OutputFile in the call to Candle in that Compile target to: $(IntermediateOutputPath) Instances of $(CompileObjOutput) in the other targets were changed to @(CompileObjOutput) as well. -Francis MsBuild.proj Description: MsBuild.proj wix.targets Description: wix.targets - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Vista -Error in SchedServiceConfig
quote trying to run my setup as a non admin on Vista Beta 2(5384). I get the following error (access denied) while trying to install my windows service as a ***non admin*** - SchedServiceConfig: Error 0x80070005: failed to get handle to SCM I get no error when I am logged as ***admin*** on Vista How do I elevate my priviledges and install the service as localsystem ? /quote I do not read this as a User Account Control (UAC) issue. But you just logged on as a normal user - not logged on as a administrator with UAC. Installing a service requires [Privileged] property set by the msi engine. (Not [Admin] property). Whether it is in Vista or XP, normal user cannot install services without administrative privileges. [Privileged] property will be set 1. If you are logged on as one of administrative accounts, it would be set even if UAC is enabled. 2. Group policy explicitly allows non-admin users to allow privileged installation for MSI. I advise you add a launch condition for your wix file testing for [Privileged] property is set. quote SchedServiceConfig: Error 0x80070005: failed to get handle to SCM /quote Still, this is interesting. SchedServiceConfig is an immediate action. If immediate custom action or impersonating deferred custom action use administrative privileges, UAC may interfere in Vista, doesn't it? Regards, Chesong Lee -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 2:07 AM To: Bahar Shah Cc: wix-users@lists.sourceforge.net; Chesong Lee Subject: Re: [WiX-users] Vista -Error in SchedServiceConfig Bahar Shah wrote: Should I assume this to be an Vista specfic issue ? Very likely. Can you open a bug at http://sourceforge.net/tracker/?group_id=105970atid=642714, preferably attaching an .msi that reproduces the problem? -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSBuild Tasks
This email touches on a problem I'm having. I'm also using MSBuild (via TeamBuild) to talk to WiX to generate msi's. There is mention here of support for incremental build as '(a task will only run if source files have changed)'. Presumably this concerns changes to the .wxs source files, but what about changes to the files that the msi is packaging up? Is there any support in WiX to identify if any of the File elements have a src attribute that has changed since the last time the msi was built? If not does anyone know how else this might be achieved (with MSBuild perhaps or otherwise) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: 14 August 2006 20:41 To: WiX-users Cc: [EMAIL PROTECTED] Subject: Re: [WiX-users] MSBuild Tasks Would it be possible for this version of wix.targets to be adopted by the team as the one that is currently distributed doesn't work with multiple wsx files? Neil PS Thanks Michael Luke you saved me lots of time! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Luke Sent: 12 May 2006 09:22 To: [EMAIL PROTECTED]; 'Francis Kam'; 'Michael F. Collins, III' Cc: 'WiX-users' Subject: RE: [WiX-users] MSBuild Tasks Hi Rob, I made lots of changes to the MSBuild wix.targets a while back to fix a few bugs, but got stymied by the (to me) ridiculous requirement of downloading a pdf, printing it out, filling it in in ink and posting it thousands of miles to Seattle, just so I could submit the changes to the project. I've worked on many open source projects, and this is the first one I've seen with such a requirement. Anyway, I'm not going to sign and post the contributor's agreement, because it's way too much hassle. Attached is the modified .targets file, and I relinquish all rights blah di blah for my changes. This .targets file fixes the following issues: - Made incremental builds work correctly (a task will only run if source files have changed) - Allowed multiple wxs files to be used in one msi - Added BeforeXXX and AfterXXX targets for each action to allow for build custom tasks. This is consistent with Microsoft's existing Team Build targets. - Moved the path to $(MSBuildExtensionsPath)\Windows Installer XML\Wix.targets (c:\program files\MsBuild\Windows Installer XML) to be consistent with MsBuild standards. The wixtasks.dll and wix.targets files should both be installed to this location. To use it, you simply create an MsBuild project file (such as the MsBuild.proj attached) and pass that to MsBuild. Michael Luke [EMAIL PROTECTED] wrote: Quick piece of information. The MSBuild tasks were written by somebody quickly and just handed to us. There hasn't been any more maintenance on the code since then. At this point in time, I expect you know more about how MSBuild works than anyone on the core WiX development team. Your bugs and suggestions would be much appreciated. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Kam Sent: Thursday, May 11, 2006 3:52 PM To: Michael F. Collins, III Cc: WiX-users Subject: Re: [WiX-users] MSBuild Tasks Thanks for the reply. I've modified the wix.targets for multiple output support and it seems to be working fine. I'm rather inexperienced with MSBuild, so maybe I'm just missing something, but isn't the only way to get an array of strings to use item groups instead of properties? You really should be able to define more than one preprocessor variable from the commandline and it seems to me the only way is to change DefineConstants to an item group. I've done this with minimal negative side-effects so far. Anyhow, it's good to see I'm not crazy, and this is a path that others have considered and followed before me. Just in case someone else is interested, what I ended up doing for multiple output support was changing CompileObjOutput to an ItemGroup, and then including: @(Compile-'$(IntermediateOutputPath)%(filename)$(IntermediateExt)') The Compile target's output of course then becomes: @(CompileObjOutput) Then I changed OutputFile in the call to Candle in that Compile target to: $(IntermediateOutputPath) Instances of $(CompileObjOutput) in the other targets were changed to @(CompileObjOutput) as well. -Francis - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSBuild Tasks
No its not that, its just that in my organization I have a large number of msi's and each time there is a build I only want to subsequently release what has changed since the last build and release. If only certain msi's get built as part of my build process I know that is all that needs to be released. -Original Message- From: Derek Cicerone [mailto:[EMAIL PROTECTED] Sent: 14 August 2006 21:48 To: 'Simon Burgess'; 'Neil Sleightholm'; 'WiX-users' Cc: [EMAIL PROTECTED] Subject: RE: [WiX-users] MSBuild Tasks That kind of incremental support is not currently there. Are you finding that build times are unacceptably long? Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Burgess Sent: Monday, August 14, 2006 1:07 PM To: 'Neil Sleightholm'; 'WiX-users' Cc: [EMAIL PROTECTED] Subject: Re: [WiX-users] MSBuild Tasks This email touches on a problem I'm having. I'm also using MSBuild (via TeamBuild) to talk to WiX to generate msi's. There is mention here of support for incremental build as '(a task will only run if source files have changed)'. Presumably this concerns changes to the .wxs source files, but what about changes to the files that the msi is packaging up? Is there any support in WiX to identify if any of the File elements have a src attribute that has changed since the last time the msi was built? If not does anyone know how else this might be achieved (with MSBuild perhaps or otherwise) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: 14 August 2006 20:41 To: WiX-users Cc: [EMAIL PROTECTED] Subject: Re: [WiX-users] MSBuild Tasks Would it be possible for this version of wix.targets to be adopted by the team as the one that is currently distributed doesn't work with multiple wsx files? Neil PS Thanks Michael Luke you saved me lots of time! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Luke Sent: 12 May 2006 09:22 To: [EMAIL PROTECTED]; 'Francis Kam'; 'Michael F. Collins, III' Cc: 'WiX-users' Subject: RE: [WiX-users] MSBuild Tasks Hi Rob, I made lots of changes to the MSBuild wix.targets a while back to fix a few bugs, but got stymied by the (to me) ridiculous requirement of downloading a pdf, printing it out, filling it in in ink and posting it thousands of miles to Seattle, just so I could submit the changes to the project. I've worked on many open source projects, and this is the first one I've seen with such a requirement. Anyway, I'm not going to sign and post the contributor's agreement, because it's way too much hassle. Attached is the modified .targets file, and I relinquish all rights blah di blah for my changes. This .targets file fixes the following issues: - Made incremental builds work correctly (a task will only run if source files have changed) - Allowed multiple wxs files to be used in one msi - Added BeforeXXX and AfterXXX targets for each action to allow for build custom tasks. This is consistent with Microsoft's existing Team Build targets. - Moved the path to $(MSBuildExtensionsPath)\Windows Installer XML\Wix.targets (c:\program files\MsBuild\Windows Installer XML) to be consistent with MsBuild standards. The wixtasks.dll and wix.targets files should both be installed to this location. To use it, you simply create an MsBuild project file (such as the MsBuild.proj attached) and pass that to MsBuild. Michael Luke [EMAIL PROTECTED] wrote: Quick piece of information. The MSBuild tasks were written by somebody quickly and just handed to us. There hasn't been any more maintenance on the code since then. At this point in time, I expect you know more about how MSBuild works than anyone on the core WiX development team. Your bugs and suggestions would be much appreciated. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Kam Sent: Thursday, May 11, 2006 3:52 PM To: Michael F. Collins, III Cc: WiX-users Subject: Re: [WiX-users] MSBuild Tasks Thanks for the reply. I've modified the wix.targets for multiple output support and it seems to be working fine. I'm rather inexperienced with MSBuild, so maybe I'm just missing something, but isn't the only way to get an array of strings to use item groups instead of properties? You really should be able to define more than one preprocessor variable from the commandline and it seems to me the only way is to change DefineConstants to an item group. I've done this with minimal negative side-effects so far. Anyhow, it's good to see I'm not crazy, and this is a path that others have considered and followed before me. Just in case someone else is interested, what I ended up doing for multiple output support was changing CompileObjOutput to an ItemGroup, and then including:
Re: [WiX-users] WiX and SQL Server 2005 Express installation
From: John Vottero [EMAIL PROTECTED] The following is a sample pulled from our msbuild project, it doesn't install SQL Express but it could if you added another BootstrapperPackage to the ItemGroup. Just save that to a file and do: Thanks, this is exactly what I need except one problem. It seems to work if Visual Studio 2005 is installed only. I would like to have something I could run on a build server with .NET Framework SDK (or Visual C# Express) only. Petr - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstalling does nothing
My app was installed by the MSI. I am not using the WixUI_xxx or any of those standard UI's I created my own. I install the game using the .msi The I want to see if I can uninstall it using the .msi. When I do it opens and I have a dialog condition only to run if the program is installed already. I was using orca to look at the what is created with WixUI_Mondo to see if there were anything I should try and I say a Publish Event = Remove Value = ALL type setup but that didn't seem to lead to anything as far at removing the product. Anyway my product doesnt' go away after trying to make it disappear Dana Gutride wrote: If your app wasn't installed by an MSI before hand, you'll need a custom action to handle this for you. You will also need a way of conditioning the custom action to run only when your app is found. Searching for a registry key might be something to look into. If you had previously installed with an MSI and included an upgrade code, then the WiX tutorial can help you with upgrading that version. Dana On 8/14/06, Magus [EMAIL PROTECTED] wrote: I am trying to make my .msi uninstall my app if its already on the users computer, the problem is I don't know what makes that happen. Is there a special property or something I need to do in order to make it uninstall the app -- View this message in context: http://www.nabble.com/Uninstalling-does-nothing-tf2104998.html#a5801674 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Uninstalling-does-nothing-tf2104998.html#a5804967 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSBuild Tasks
Neil Sleightholm wrote: Would it be possible for this version of wix.targets to be adopted by the team as the one that is currently distributed doesn't work with multiple wsx files? You might want to take a look at the WiX tasks/targets in WiX v3; it's been enhanced beyond what's in v2. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSBuild Tasks
I'll take a look but v3 is not stable enough for my builds. Do you know if the v3 wix.targets would work with v2? Neil -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 14 August 2006 23:13 To: Neil Sleightholm Cc: WiX-users; [EMAIL PROTECTED] Subject: Re: [WiX-users] MSBuild Tasks Neil Sleightholm wrote: Would it be possible for this version of wix.targets to be adopted by the team as the one that is currently distributed doesn't work with multiple wsx files? You might want to take a look at the WiX tasks/targets in WiX v3; it's been enhanced beyond what's in v2. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users