Re: [WiX-users] Uninstall windows service
I have had some similar problems with installing services and they are not necessarily related to the current install. My scenario: 1. Install a service 2. Do update install of new version with incorrect account or password - the install fails and rolls back 3. Retry install with correct account and password. Install fails complaining that I may not have sufficient privileges to install. It turned out that the update install did not completely remove the service entries. All of the files are removed during the rollback, but the service table still contains the ervice entry (pointing at a non-existant exe). The ServiceManager GUI could not remove these bogus service entries. However, when I used the SC command (SC DELETE servicename), it removed the service and the next install attempt succeeded. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wik Carl-Johan Sent: Friday, August 24, 2007 8:43 AM To: Schrieken, Rene; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Uninstall windows service No, no errors in the msi log, as I can see. It says it runs the stop and delete service actions. Added the log on the end. The UnInstall will not stop the service, either, on UnInstall. Have tried to stop service and the uninstall but not success either. I will try this: http://blog.wharton.com.au/2007/06/windows-installer-xml-wix-30-snippets .html It mention something about same id and name... Haven't seen anywhere in the documentation that it is needed but I will have it a try. I downloaded some wix file generator and on creating a service they separated the serviceInstall and serviceControl in different components If I use InstallUtil I can add and remove the service just fine. So the service is ok to install with that and runs fine. Seems like another interesting day at work :-). Anyone have managed to get this to work or is the customaction for InstallUtil a more solid path to go for the moment? /cj From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schrieken, Rene Sent: den 24 augusti 2007 15:07 To: Wik Carl-Johan; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Uninstall windows service Any errors in the log if you run msiexec /x yourmsi.msi /lvx* yourmsi.log? Is the service also still running? Rene From: [EMAIL PROTECTED] on behalf of Wik Carl-Johan Sent: Fri 8/24/2007 14:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall windows service Hi! I have: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product Id=d9944a47-8fce-4d69-ac4a-daf7eff1ed06 Name=WM-data Integration Log Service Language=1033 Version=1.0.0.0 Manufacturer=WM-data UpgradeCode=7c9e2226-971f-4838-8761-4c9b759699e9 Package InstallerVersion=200 Compressed=yes / Media Id=1 Cabinet=Setup.cab EmbedCab=yes / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=WM-data Directory Id=IntegrationShared Name=Integration Directory Id=WMdataLogServiceFolder Name=WMdata.Integration.Logging.WindowsService Component Id=WMdataLoggingServiceComponent Guid=62936f11-9cda-44d1-a9c8-6fe3ec17a218 File Id =WMdata.Integration.Logging.WindowsService.exe Source =..\..\Source\WMdata.Integration.Logging.WindowsService\bin\Release\WMd ata.Integration.Logging.WindowsService.exe KeyPath=yes/ ServiceInstall Id=WMdataLogServiceInstall Name=WMdataIntegrationLogService DisplayName=WM-data Integration Log Service Description=Read WM-data msmq log into SQL. ErrorControl=normal Start=auto Type=ownProcess Vital=yes Account=.\WmDataLog Password=123 /ServiceInstall ServiceControl Id=WMdataLogServiceControl Name=WMdataIntegrationLoggingService Stop=uninstall Remove=uninstall Wait=yes/ /Component /Directory /Directory /Directory /Directory /Directory Feature Id=ProductFeature Title=WM-data Integration Log Service Level=1 ComponentRef Id=WMdataLoggingServiceComponent / /Feature /Product /Wix The install is working fine now, but on uninstall the files for the service is removed but the service is still in the service list and in the registry. Orca tells me the ServiceControl table has the flag set for uninstall (160). I can't see what is missing?.. /cj This e-mail and any attachment is for authorised use by the
Re: [WiX-users] GenerateBootstrapper questions
The generated setup.exe file behaves as you desire and only downloads files that it needs to install. Only those files that are necessary to determine if a package needs to be installed (such as dotnetchk.exe) At least this is my experience. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen Sent: Wednesday, December 06, 2006 3:27 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GenerateBootstrapper questions No, the oppisate. I want setup.exe to be very small and it then will download the needed installers and run them only if needed. And it will download them from the MS website. So the user runs setup.exe and then when running, if they don't have .NET framework installed, it downloads it from www.microsoft.com http://www.microsoft.com/ and runs it. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm From: Wilson, Phil [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 2:25 PM To: David Thielen; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] GenerateBootstrapper questions You mean you want the download for Windows Installer, SQL Express, .NET Framework, J# etc to be all in one file? Just trying to understand. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen Sent: Wednesday, December 06, 2006 1:15 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GenerateBootstrapper questions Hi; I think I'm not understanding something. I want the bootstrapper to give me a small setup.exe that will download things like the .NET framework only if needed on that user's computer. And I need the download to be a single file to make it easy. How can I build this? The examples I see all assume that the install programs for things like the .NET framework are downloaded with setup.exe which eliminates the whole purpose of it. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm From: Erv Walter [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 12:07 PM To: David Thielen; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] GenerateBootstrapper questions Some answers to your questions (sorry, not all): #1. The official documentation for GenerateBootstrapper (the MSBuild task) is http://msdn2.microsoft.com/en-us/library/ms164294.aspx. I don't know where the official documentation for the bootstrapper itself it. You don't need to make a package.xml file at all unless you are creating a redistributable package. If you need to do that, you put the HomeSite in the product.xml file. #2. Never tried it. Don't know if it is useful. #3. In your msbuild project you set the ApplicationFile attribute to the filename of your .msi on the GenerateBootstrapper task (see my sample in a previous email). It's not embedded. It sits side by side with the setup.exe. I believe you can have it be downloaded using the ApplicationUrl attribute (at least the documentation implies that), but I have not tested it. #4. The only things you can control are the name for your application (using the ApplicationName attribute). The rest of the UI is un-configurable. #5. The bootstrapper generates a setup.exe to sit beside your .msi (and any of your dependencies if you are not downloading them). You could use tools like PackageForTheWeb to pack them into a single file if you need to, or you might be able to have everything be downloaded including your .msi (see above) so that they only get the setup.exe. #6. You might be able to copy the existing SQL Express package and adjust the rules in its product.xml file to make it not be installed if SQL is already installed (you'll have to look at the product.xml and learn its syntax by a combination of insight and trial and error--I don't know of any documentation, but the format is pretty intuitive when you look at it). But you can't make dependecies optional for the user to decide with this bootstrapper. It doesn't support that. #7. I sent you a previous email with a sample msbuild project file. You put your list of dependencies in the BootstrapperItems ItemGroup. #8. No, it only supports either always downloaded or always local. #8b. If you are doing local, when you run the msbuild project, by default it will copy the files to the output directory in the proper directory structure. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen Sent: Wednesday, December 06, 2006 12:07 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] GenerateBootstrapper questions Hi; I posted this also in the MS forums (no answer)
Re: [WiX-users] Generate Bootstrapper support?
The documentation for GenerateBootstrap (actually the files it uses) is buried in the ClickOnce section. Using that information, combined with looking at the files that MS supplies for the prerequisites, we managed to create a bootstrapper for our Wix based deployer. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen Sent: Tuesday, December 05, 2006 11:42 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Generate Bootstrapper support? Hi; Is there support for GenerateBootstrapper (in MSBuild) anywhere? It appears to have what I need for prerequisites but there is no documentation of what to use for the Include=... for each MS prerequisite. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] error uninstalling website
I have had problems where I used a property to specify the web address and because the property was not set at uninstall time, the uninstall failed. The trailing // in the key makes me suspect that you may have created a virtual directory whoose name came from a property. At uninstall time, the property has not been set and is substituted as a empty string. I wound up storing the web site property values in the registry so that an uninstall could properly initialize the properties uing a RegistrySarch. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don TasanasantaSent: Tuesday, July 18, 2006 5:16 PMTo: wix-users@lists.sourceforge.netSubject: [WiX-users] error uninstalling website Ive gotten my website to install and now Im getting an error trying to uninstall the website. Failed to delete metabase key: /W3SVC/1/Root// Has anyone experienced this before? __ Don Tasanasanta VIACK Corporation 425-605-7423 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] .NET Installation - request for example
Another place to look is in the .Net 2.0 Bootstrapper and the MSBuild GenerateBootstrapper task. With a little help from Google, it is possible to find information on using the 2.0 bootstrapper with any old generic MSI. By referencing the correct package, one can create a boot strapper that will install prerequisites such as .Net and install the product. I used to use dotNetInstaller, but have found that the 2.0 bootstrapper generates a more professional looking installer. -Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Monday, July 10, 2006 3:42 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] .NET Installation - request for example Try looking at http://www.codeproject.com/dotnet/dotNetInstaller.asp Rob X Y wrote: Hi All, I am new to Wix and was wondering if there was an example floating out there that does the following: 1. Detect whether .NET is installed in the machine (an example has already been done via the tutorial) 2. If it hasnt been, obtain dotnetfx from a website or somewhere and launch it. Thanks, -- harold __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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=1216 42 - 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