[WiX-users] Start Menu Shortcut Problem
by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 2 Date: Tue, 7 Apr 2009 10:16:51 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 49db8a83.6010...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed It's annoying. This old blog entry should explain more: http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx Lanteigne, Alan wrote: Hello Wix World: While trying to setup a shortcut to an EXE, I'm getting this error: ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. I thought I had done everything correctly but apparently I'm missing something. Googling shows something about ProgramMenuFolder being specific to a user's profile, but I'm trying to setup this shortcut for All Users... not just one user. For one thing, I want newly created users (after the app is installed) to have the shortcut appear. Here's what I'm doing: Directory Id=sys32folder Name=System32 Component Id=ID_COM_myTest Guid=193119C5-AF4B-4432-9406-FFF1C34DE71D File Id= myTestFile Name= myTest.exe Source=BuildFiles\System32\ myTest.exe Vital=yes KeyPath=yes DiskId=1 / Shortcut Id= myTestsm Directory=Dir_MyStartmenuSubDir Name=Run myTest Icon=myTestIcon IconIndex=0 Show=normal WorkingDirectory=sys32Folder / /Component Directory Id=ProgramFilesFolder SourceName=Program Files Folder / Directory Id=ProgramMenuFolder Name=Programs Directory Id=ProgramMenuDir Name=My App Folder / /Directory Directory Id=Dir_MyStartmenuSubDir Name=My App Folder / /Directory I later define the Icon and set the ALLUSERS property to 1. What am I missing or not understanding? Thanks, Alan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 3 Date: Tue, 7 Apr 2009 10:18:28 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] Check for IIS application pools To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 49db8ae4.9090...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Yes, it is possible but requires a fair bit of CustomAction work. We haven't added such a thing to the WiX toolset yet... Bahn Thomas wrote: Hello, can i check for an installed IIS and list the available application pools? The avaliable application pools should be listed in a listbox control. Thanks Thomas Bahn -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 4 Date: Tue, 7 Apr 2009 10:26:01 -0700 (PDT) From: mcheshier mchesh...@usa.net Subject: [WiX-users] DTF build issue To: wix-users@lists.sourceforge.net Message-ID: 1239125161276-2600276.p...@n2.nabble.com Content-Type: text/plain; charset=us-ascii Hi, I've been slowly converting a lot of VBScript custom actions to the DTF and am loving it. I'm having a weird build issue though and was hoping someone could help me out. On my primary dev machine when I build my CA.dll it creates a 660 KB .dll that mysteriously and randomly dies in the middle of a custom action. As the (working) .dll in SVN was larger (around 690KB), I suspected a build issue and this was confirmed when I compiled my .dll on a VM and it came out to 690KB (and worked). I'm using VS2008 with WiX 3.0.4085. I'm guessing that a dependency of some sort isn't being compiled in, but I'm not an expert on the underpinnings of .NET. On a related note, I noticed that the final .CA dll seems to be a slightly different size each time I build it. Is this just a .NET thing or should I be concerned? -- View this message in context: http://n2.nabble.com/DTF-build-issue-tp2600276p2600276.html Sent
[WiX-users] ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table.
Hello Wix World: While trying to setup a shortcut to an EXE, I'm getting this error: ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. I thought I had done everything correctly but apparently I'm missing something. Googling shows something about ProgramMenuFolder being specific to a user's profile, but I'm trying to setup this shortcut for All Users... not just one user. For one thing, I want newly created users (after the app is installed) to have the shortcut appear. Here's what I'm doing: Directory Id=sys32folder Name=System32 Component Id=ID_COM_myTest Guid=193119C5-AF4B-4432-9406-FFF1C34DE71D File Id= myTestFile Name= myTest.exe Source=BuildFiles\System32\ myTest.exe Vital=yes KeyPath=yes DiskId=1 / Shortcut Id= myTestsm Directory=Dir_MyStartmenuSubDir Name=Run myTest Icon=myTestIcon IconIndex=0 Show=normal WorkingDirectory=sys32Folder / /Component Directory Id=ProgramFilesFolder SourceName=Program Files Folder / Directory Id=ProgramMenuFolder Name=Programs Directory Id=ProgramMenuDir Name=My App Folder / /Directory Directory Id=Dir_MyStartmenuSubDir Name=My App Folder / /Directory I later define the Icon and set the ALLUSERS property to 1. What am I missing or not understanding? Thanks, Alan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Create custom dialog for Votive VS08 project
How can I create a custom dialog with a radiobutton group using Votive? I've found instructions for doing so at: http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm but it looks like they don't apply to Votive. Under the Customizing dialog sets section, several files are listed for modification, but those files aren't installed on my machine. I'm currently using the WixUI_Minimal template, but would like to add a dialog. How can I do this? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Create custom dialog for Votive VS08 project - Radio Button to select different versions of same file
Ok, I've got the custom dialog worked out. I never found the files the WIX documentation specified, but I found some other samples online to look at. Now I'm stuck with a new problem. I'm using a radio button to specify which config file should be installed. The config file is always called config.xml. I would like to install a different config.xml based on the user's selection in the Radio Button Group. What I've tried so far is this: Component Id=comp_config_MS24 Guid=---- Permanent=no File Id=configFile_MS24 Name=config.xml Source=BuildFiles\MS24\config.xml Vital=yes DiskId=1/ /Component Component Id=comp_config_MS30 Guid= ---- Permanent=no File Id=configFile_MS30 Name=config.xml Source=BuildFiles\MS30\config.xml Vital=yes DiskId=1/ /Component Coupled with conditional features: Feature Id=featConfigMS24 Title=ConfigMS24 Description=MS24 Configuration Level=0 Condition Level=1![CDATA[propFlavor = MS24]]/Condition ComponentRef Id= comp_config_MS24/ /Feature Feature Id=featConfigMS30 Title=ConfigMS30 Description=MS30 Configuration Level=0 Condition Level=1![CDATA[propFlavor = MS30]]/Condition ComponentRef Id= comp_config_MS30/ /Feature My hope was the radio button property propFlavor would allow me to conditionally install a particular config as a feature. It doesn't work, I get this error: Error 2 ICE30: The target file 'config.xml' is installed in '[TARGETDIR]\spotcg7w\hc3csqhp\' by two different components on an SFN system: comp_config_MS24' and ' comp_config_MS30'. This breaks component reference counting. D:\WixProjects\ProjectB\ProjectB.wxs By the way, I've simplified things a little for the example. I actually have about 6 different config files. I'm stuck! Any advice would be appreciated... Alan From: Lanteigne, Alan Sent: Friday, July 18, 2008 9:18 AM To: 'wix-users@lists.sourceforge.net' Subject: Create custom dialog for Votive VS08 project How can I create a custom dialog with a radiobutton group using Votive? I've found instructions for doing so at: http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm but it looks like they don't apply to Votive. Under the Customizing dialog sets section, several files are listed for modification, but those files aren't installed on my machine. I'm currently using the WixUI_Minimal template, but would like to add a dialog. How can I do this? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Mutually Exclusive Features/Components
How can I install separate versions of files based on user selection? I have an installer I've created that currently has 4 features, one for each specific flavor of my application. I want the user to select which flavor they want at install time, and lay down the proper files accordingly. As of now, they can install all of the features at once, which ends up in a mess. I want the ability to force only one of the four features to be installed. How can I do this? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Opposite of REMOVE=ALL
I'm using REMOVE=ALL to conditionally run a custom action when the software is removed. How can I do the opposite Conditionally run an action only when the software is installed? ScheduleReboot After=InstallFinalizeINSTALL=ALL/ScheduleReboot ..or something Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
You're correct on that one. I see I used those same GUID's in my original Votive 2.0 project. I already use VMWare to test other scripts, so I'll just start testing my MSI on it as well. Thanks! From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 11:11 AM To: Lanteigne, Alan Cc: János Brezniczky; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Lanteigne, Alan wrote: What could cause this error? I've ensured there are no other installations using the GUID's in the error. What does it mean by another client? Another client means another setup uses those GUIDs. Can you reproduce this problem on a clean machine? It's a common problem during setup development, to leave droppings behind and run into problems like this. That's why I recommend testing in virtual machines (http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/). -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
What could cause this error? I've ensured there are no other installations using the GUID's in the error. What does it mean by another client? MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB4C34DE70D} since another client exists Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 8:11 PM To: Lanteigne, Alan Cc: János Brezniczky; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Lanteigne, Alan wrote: Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? If your registry values belong to the component that's not being uninstalled, yes. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Trying to force a reboot prompt after setup completes - Unexpected external UI message
I'm trying to force a checkbox based restart (default being ON, for restart) after my installation is finished. To do so I've done this: CustomAction Id=Restart Property=REBOOT ExeCommand= Impersonate=yes Return=ignore / Property Id='REBOOT'FORCE/Property Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=Restart Order=1WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1/Publish I'm not sure if I'm going about this the right way but I'm having trouble finding documentation on how to cause a reboot. Currently, when I try to compile, I get this: An unexpected external UI message was received: You must restart your system for the configuration changes made to Blah Blah to take effect. Click Yes to restart now or No if you plan to manually restart later. Is my technique flawed here? If so, could someone indicate the area of my problem? Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX MSI not removing REG entries during removal
During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Ok, I see this guy: createKeyAndRemoveKeyOnUninstall Creates the key, if absent, when the parent component is installed then remove the key with all its values and subkeys when the parent component is uninstalled. ...as an Action for the Registry element. That is almost what I'm looking for, except I need to remove a REG value and leave the key it's under intact. I'm modifying a value in an important MS key on install, and I want to either change it back or remove it during uninstall. When I build this project as a Setup Wizard project in VS2005, the MSI generated has the desired behavior...so it's got to be possible. Any ideas? Thanks for the help! Alan From: János Brezniczky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:22 AM To: Lanteigne, Alan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky [EMAIL PROTECTED]: If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX MSI not removing REG entries during removal
Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB4C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB3C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB2C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB1C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB1C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB5C34DE70D} since another client exists Alan From: János Brezniczky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:22 AM To: Lanteigne, Alan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky [EMAIL PROTECTED]: If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember Registry... values are removed together with the contents of the component they belong to. 2007/11/14, Lanteigne, Alan [EMAIL PROTECTED]: During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
I found a bug listed on souceforge for my problem: 1613071 - Unable to save VS project https://sourceforge.net/tracker/index.php?func=detailaid=1613071group _id=105970atid=642714 Unfortunately it doesn't look like there's ever been any activity on it. I tried your suggestion of adding references to Wix*Extension DLL's, but it didn't change anything. After trying several combos of references, I added all of the DLL's in the bin folder just for the heck of it. Still no change. I'm currently installing VS05 on a Virtual Machine to see if I can get it working on it. Thanks, Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 6:29 PM To: Lanteigne, Alan Cc: Blair Murri; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Lanteigne, Alan wrote: Ok, I just completely removed WIX/Project Aggregator/Visual Studio 2005. I then re-installed VS2005, updated it with Windows Update, installed project aggregator, and wix. I'm still getting the same error. All other project types work fine (C#, C++, VB, etc). I installed ProjectAggregator2.msi, then WiX v3.0.3429.0 with all features, then used File|New Project to create a new .wixproj from the WiX Project template. I added some references (to Wix*Extension.dll) then built and saved the project. No problems. When I install the projectaggregator2.msi, it goes very quick with no dialog. Is that normal? No. You should get a small dialog with a progress bar. The install takes a couple of seconds. -- sig://boB http://joyofsetup.com/ image002.jpg- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
Hello Bob. I removed VS05 + WIX again, and after installing and using the workaround I'm back to business. What a weird problem. Thanks for the help! Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 11:23 AM To: Lanteigne, Alan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Lanteigne, Alan wrote: I found a bug listed on souceforge for my problem: 1613071 - Unable to save VS project https://sourceforge.net/tracker/index.php?func=detailaid=1613071group _id=105970atid=642714 Does the workaround in that bug work for you? -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom Action to call EXE during Uninstall
Hello, I'm trying to get an EXE to fire off after un-installation occurs. Following several forum posts regarding similar attempts, I have come up with this: CustomAction Id=RunNoShell Property=NOSHELLPROP ExeCommand= Return=ignore / Property Id=NOSHELLPROP DirectorySearch Id=MYREDISTDIR Path=[WindowsFolder] Depth=0 FileSearch Id=MYEXEFILESEARCH Name=NoShell.exe / /DirectorySearch /Property InstallExecuteSequence Custom Action=RunNoShell After=InstallFinalizeREMOVE=ALL/Custom /InstallExecuteSequence This appears to be correct, as I get the following in my log during uninstall: MSI (s) (D0:74) [16:07:32:055]: PROPERTY CHANGE: Adding NOSHELLPROP property. Its value is 'C:\WINDOWS\NoShell.exe'. Blah blah blah MSI (s) (D0:74) [16:07:32:258]: Doing action: RunNoShell However, I get no indication that the EXE has actually ran (it should alter some REG values and throw a Message Box up). Am I missing something here? Also, I'm noticing none of the REG values set by my installer are removed on un-installation. Is this normal? I would like them to be deleted, but the WIXWIKI states that there is no way to remove a registry value during uninstall (http://www.wixwiki.com/index.php?title=RemoveRegistryValue_Element). Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
The same error is showing? (that you can't save a new project, and can't successfully open an old one?) Alan From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Fri 11/9/2007 6:45 PM To: Lanteigne, Alan; Blair Murri; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] New to WIX, trying to get a UI to appear in my MSI That's what I was showing when I reinstalled this morning. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Friday, November 09, 2007 6:25 AM To: Blair Murri; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Ok, I just completely removed WIX/Project Aggregator/Visual Studio 2005. I then re-installed VS2005, updated it with Windows Update, installed project aggregator, and wix. I'm still getting the same error. All other project types work fine (C#, C++, VB, etc). When I install the projectaggregator2.msi, it goes very quick with no dialog. Is that normal? Alan From: Blair Murri [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 8:39 PM To: Lanteigne, Alan; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Did you install the ProjectAggregator2.msi first? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Thursday, November 08, 2007 5:26 PM To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Ok, after removing the old, installing the new (3502 from the link Bob gave me), I get The operation could not be completed. No such interface supported when I try to save a new WIX project. If I open my existing project, I get warned that it must be opened in the IDE and converted. The project files are unavailable in Project Explorer. Does anyone have a solution for that? Thanks, Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 7:40 PM To: Lanteigne, Alan Cc: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Lanteigne, Alan wrote: I got it from here: http://sourceforge.net/project/showfiles.php?group_id=105970package_id=16, which was a link for Votive 3.0 download page on wix.sourceforge.net. I grabbed the newest votive msi. Use the WiX3.msi from http://wix.sourceforge.net/releases/ instead. The Votive-only installer was replaced with a WiX installer last year. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't get embedded CAB working properly
I'm trying to package up a C# application I've made. The final installer will need to set some registry keys, but for now I'm trying to just get simple file copying to work. I've created a CAB file containing the EXE and a few supporting files by using cabarc.exe: cabarc N product.cab Release\*.* Release\images\*.* Release\icons\*.* This creates product.cab, which definitely contains the files. I then create a WIX project in VS2005 and modify the template Product.wxs to include this: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product Id=43f2ead8-70d1-41b6-9db5-a5d4ad96be83 Name=ID14 Language=1033 Version=1.4.0.0 Manufacturer=AlanTest Package InstallerVersion=200 Compressed=yes / Media Id=1 Cabinet=product.cab EmbedCab=yes / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=ID14 Component Id=ID14exe Guid=43f2ead8-70d1-41b6-9db5-a5d4ad96be83 File Id= ID14file Name=id14.exe LongName=id14.exe Source= id14.exe Vital=yes KeyPath=yes DiskId=1/ /Component /Directory /Directory Feature Id=ProductFeature Title=PUT-FEATURE-TITLE-HERE Level=1 ComponentRef Id=ID14exe / /Feature /Product /Wix I copy my CAB file to the project folder (same folder as Product.wxs), compile, and get a The system cannot find the file 'id14.exe' error. Am I missing some simple step? I looked through the tutorial and docs but they mostly skipped over how to stage the CAB file properly. Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't get embedded CAB working properly
Oh, that's nice. That's working! Thanks, Alan From: Peter Marcu [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 1:05 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't get embedded CAB working properly You don't need to create the cab yourself. WiX will do that for you. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Thursday, November 08, 2007 9:56 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't get embedded CAB working properly I'm trying to package up a C# application I've made. The final installer will need to set some registry keys, but for now I'm trying to just get simple file copying to work. I've created a CAB file containing the EXE and a few supporting files by using cabarc.exe: cabarc N product.cab Release\*.* Release\images\*.* Release\icons\*.* This creates product.cab, which definitely contains the files. I then create a WIX project in VS2005 and modify the template Product.wxs to include this: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product Id=43f2ead8-70d1-41b6-9db5-a5d4ad96be83 Name=ID14 Language=1033 Version=1.4.0.0 Manufacturer=AlanTest Package InstallerVersion=200 Compressed=yes / Media Id=1 Cabinet=product.cab EmbedCab=yes / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=ID14 Component Id=ID14exe Guid=43f2ead8-70d1-41b6-9db5-a5d4ad96be83 File Id= ID14file Name=id14.exe LongName=id14.exe Source= id14.exe Vital=yes KeyPath=yes DiskId=1/ /Component /Directory /Directory Feature Id=ProductFeature Title=PUT-FEATURE-TITLE-HERE Level=1 ComponentRef Id=ID14exe / /Feature /Product /Wix I copy my CAB file to the project folder (same folder as Product.wxs), compile, and get a The system cannot find the file 'id14.exe' error. Am I missing some simple step? I looked through the tutorial and docs but they mostly skipped over how to stage the CAB file properly. Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
I installed 3.2015, the latest votive installer I could find. Do you know of a newer one? Re-installing didn't help... From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:56 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI No. sounds like a bad dll? Weird. You installed the latest version of Votive? Maybe try and reinstall it... From: Lanteigne, Alan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 12:48 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI Oh, that kind of reference. I was thinking too narrowly. That gives me this error upon compilation: Error 2 Not a valid object file; detail: Data at the root level is invalid. Line 1, position 1. C:\Program Files\Windows Installer XML\bin\WixUIExtension.dll Is that normal? From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:44 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI No.. In Visual Studio you need to add a reference to the UI dll. So Project - Add Reference - WixUIExtension.dll From: Lanteigne, Alan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 12:16 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI Is that the area of the sample file here: Component Id='HelperLibrary' Guid='YOURGUID-6BE3-460D-A14F-75658D16550B' File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='Helper.dll' Vital='yes' / /Component ? From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:13 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI You have to add a reference to the WixUI component dll. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Thursday, November 08, 2007 12:05 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Hello, I have a product.wxs file properly defining where to place my program files via components in features and would like some kind of GUI to show up (Welcome, agreement, next, finish). Following a tutorial I found online, I added these two lines to the bottom of my product definition: UIRef Id=WixUI_Mondo / UIRef Id=WixUI_ErrorProgressText / When I compile, I now get these errors: Error 2 Unresolved reference to symbol 'WixUI:WixUI_Minimal' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. Error 3 Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. I'm using Votive 3. What am I doing wrong here? Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] New to WIX, trying to get a UI to appear in my MSI
Hello, I have a product.wxs file properly defining where to place my program files via components in features and would like some kind of GUI to show up (Welcome, agreement, next, finish). Following a tutorial I found online, I added these two lines to the bottom of my product definition: UIRef Id=WixUI_Mondo / UIRef Id=WixUI_ErrorProgressText / When I compile, I now get these errors: Error 2 Unresolved reference to symbol 'WixUI:WixUI_Minimal' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. Error 3 Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. I'm using Votive 3. What am I doing wrong here? Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
Ok, after removing the old, installing the new (3502 from the link Bob gave me), I get The operation could not be completed. No such interface supported when I try to save a new WIX project. If I open my existing project, I get warned that it must be opened in the IDE and converted. The project files are unavailable in Project Explorer. Does anyone have a solution for that? Thanks, Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 7:40 PM To: Lanteigne, Alan Cc: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Lanteigne, Alan wrote: I got it from here: http://sourceforge.net/project/showfiles.php?group_id=105970package_id= 16, which was a link for Votive 3.0 download page on wix.sourceforge.net. I grabbed the newest votive msi. Use the WiX3.msi from http://wix.sourceforge.net/releases/ instead. The Votive-only installer was replaced with a WiX installer last year. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
I got it from here: http://sourceforge.net/project/showfiles.php?group_id=105970package_id= 16, which was a link for Votive 3.0 download page on wix.sourceforge.net. I grabbed the newest votive msi. Alan From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 4:23 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI Are you getting it from wix.sourceforge.com? From: Lanteigne, Alan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 1:22 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI I installed 3.2015, the latest votive installer I could find. Do you know of a newer one? Re-installing didn't help... From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:56 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI No. sounds like a bad dll? Weird. You installed the latest version of Votive? Maybe try and reinstall it... From: Lanteigne, Alan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 12:48 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI Oh, that kind of reference. I was thinking too narrowly. That gives me this error upon compilation: Error 2 Not a valid object file; detail: Data at the root level is invalid. Line 1, position 1. C:\Program Files\Windows Installer XML\bin\WixUIExtension.dll Is that normal? From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:44 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI No.. In Visual Studio you need to add a reference to the UI dll. So Project - Add Reference - WixUIExtension.dll From: Lanteigne, Alan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 12:16 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI Is that the area of the sample file here: Component Id='HelperLibrary' Guid='YOURGUID-6BE3-460D-A14F-75658D16550B' File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='Helper.dll' Vital='yes' / /Component ? From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 3:13 PM To: Lanteigne, Alan; wix-users@lists.sourceforge.net Subject: RE: New to WIX, trying to get a UI to appear in my MSI You have to add a reference to the WixUI component dll. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Thursday, November 08, 2007 12:05 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Hello, I have a product.wxs file properly defining where to place my program files via components in features and would like some kind of GUI to show up (Welcome, agreement, next, finish). Following a tutorial I found online, I added these two lines to the bottom of my product definition: UIRef Id=WixUI_Mondo / UIRef Id=WixUI_ErrorProgressText / When I compile, I now get these errors: Error 2 Unresolved reference to symbol 'WixUI:WixUI_Minimal' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. Error 3 Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText' in section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'. I'm using Votive 3. What am I doing wrong here? Thanks, Alan S. Lanteigne | Channel Ready Solutions phone fax +1.317.715.8293| [EMAIL PROTECTED] Interactive Intelligence Inc. Deliberately Innovative www.inin.com http://www.inin.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI
I sure did. I had previously installed an older version though. Does removing WIX also remove whatever the ProjectAggregator brought in? Alan From: Blair Murri [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 8:39 PM To: Lanteigne, Alan; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Did you install the ProjectAggregator2.msi first? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan Sent: Thursday, November 08, 2007 5:26 PM To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Ok, after removing the old, installing the new (3502 from the link Bob gave me), I get The operation could not be completed. No such interface supported when I try to save a new WIX project. If I open my existing project, I get warned that it must be opened in the IDE and converted. The project files are unavailable in Project Explorer. Does anyone have a solution for that? Thanks, Alan From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 7:40 PM To: Lanteigne, Alan Cc: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI Lanteigne, Alan wrote: I got it from here: http://sourceforge.net/project/showfiles.php?group_id=105970package_id= 16, which was a link for Votive 3.0 download page on wix.sourceforge.net. I grabbed the newest votive msi. Use the WiX3.msi from http://wix.sourceforge.net/releases/ instead. The Votive-only installer was replaced with a WiX installer last year. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users