Re: [WiX-users] Wix Permission attribute
Harini Gurusamy wrote: Is WIX V3.0 released version or beta package Beta, still in development. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Permission attribute
Harini Gurusamy wrote: Can we put well known user SIDs in the user attribute. Its throwing an error as of now ( OR) is there an other way to specify the SID values Permission GenericAll=yes User=S-1-1-0 / Permission GenericAll=yes User=S-1-5-32-544/ WiX translates from well-known names to the well-known SIDs. See src\ca\wixca\dll\secureobj.cpp for the list. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Service not installed after major upgrade
Chris Lindal wrote: I have a msi with version 3.32.116 that installs Service A and Service B. My other installer is versioned 3.51.668 that installs Service C. When I do a major upgrade from using these installers, Services A and B are installed and removed but Service C is not created. Interestingly if I do a major upgrade from 3.51.688 to 3.51.699, the service gets installed. The two installers are created with basically the same .wxs file. They share the same Upgrade section and the product\package codes are generated for each build. Check a verbose log for InstallValidate logging; it shows what MSI plans to do for each component. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSI's and unknown publisher
Peterson, Joel wrote: Wait, are you saying it's possible to add that entry? I was under the impression that the way Windows Installer caches MSIs, it can no longer authenticate the digital signature of the file as it has been changed. Correct, installed packages have their signatures invalidated when the embedded cabinets are stripped out. Sorry, I didn't differentiate. Ryan's question was about the UAC prompt on installation. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing files from a pre-generated CAB file
Jose Sanchez Saldana (Excell Data Corporation) wrote: Suppose I have a cab file called FILES.CAB, which I've generated previously. Is there any way (other than running a custom action to extract it) to install the files within this CAB using WIX? Thanks. There's nothing like that in WiX. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CA only during Repair
Maybe you can try to change the condition statement to: Installed AND NOT REMOVE=ALL which means the precondition is installed already and not in remove mode. Date: Wed, 2 Apr 2008 08:44:14 -0700 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Subject: [WiX-users] CA only during Repair How do i change the following CA to run only as part of the repair? CustomAction Id=LaunchSystrayExeRepair Directory=INSTALLDIR ExeCommand=[INSTALLDIR]systray.exe Return=check Execute=deferred / InstallExecuteSequence . Custom Action='LaunchSystrayExeRepair' Before='InstallFinalize'Installed/Custom /InstallExecuteSequence When i uninstall after repair,MSI throws a files in use dialog for the service running, and the uninstall fail and get rolled back Any clue on what's going wrong here? -- View this message in context: http://www.nabble.com/CA-only-during-Repair-tp16447318p16447318.html Sent from the wix-users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marke tplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Ways to add Files
So far I have found that you can add files in the following ways: 1) Add a reference to a file directly using its directory path. 2) Add a project reference and then use (var.PROJECT_NAME.TargetPath) However, can you add a reference to a Dll and then add this somehow. I have been unable to do this. Rehan Saeed (London) x8509 Please consider the environment before printing ** This message contains confidential information and is intended only for the individual or entity named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as an invitation or offer to buy or sell any securities or related financial instruments. GAM operates in many jurisdictions and is regulated or licensed in those jurisdictions as required. To the extent this email has been sent to you by any of GAM (U.K.) Limited, GAM Sterling Management Limited, GAM International Management Limited, GAM London Limited, GAM Fund Management Limited, or GAM Fonds Marketing GmbH, please note the following details in respect of each such company: GAM (U.K.) Limited (a company limited by shares and registered in England and Wales with company number with Company Number 01664573); GAM Sterling Management Limited (a company limited by shares and registered in England and Wales with company number with Company Number 01750352); GAM International Management Limited (a company limited by shares and registered in England and Wales with company number with Company Number 01802911); GAM London Limited (a company limited by shares and registered in England and Wales with company number with Company Number 00874802) Each of Registered Office: 12 St. James's Place, London, SW1A 1NX GAM Fund Management Limited (a company limited by shares and registered in Ireland with no. 156828) of Registered Office: George's Court 54-62 Townsend Street Dublin 2, Ireland GAM Fonds Management GmbH (a company limited by shares and registered in Germany under No. HRB 66857) of Friedrichstrasse 154, D-10117 Berlin, Germany. The competent Commercial Register is “Amtsgericht Charlottenburg“ in Berlin. Manager: Doreen Mallon. As far as investment and contract brokering are concerned, GAM Fonds Marketing GmbH acts as agent of Bank Julius Bär (Deutschland) AG. ** - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Re start Manager on Vista
Hello there..any luck on this issue? even I'm facing the same problem Stefan Pavlik-2 wrote: Hi, I have a problem with Restart Manager on Windows Vista. During uninstallation of our application (usually after establishing the connection - our software is manager for Data Cards) the Windows Installer shows that it needs to close and restart several system services (e.g. Application Experience, Application Information, Application Management, Background Intelligent Transfer Service, Certificate Propagation, Extensible Authentication Protocol, Group Policy Client, IKE and AuthIP IPsec Keying Modules,). After pressing OK the installation ends with restart required. My problem is that I do not know how to avoid displaying of such ugly dialog (the user is unable to stop the system services). All services are hosted in one process (svchost.exe) and therefore all services are displayed to the user. Any help is highly appreciated. Thanks Stefan Here is the InstallaValidate action from the Log file : Action start 11:21:43: InstallValidate. MSI (s) (28:18) [11:21:43:366]: Note: 1: 2205 2: 3: _RemoveFilePath MSI (s) (28:18) [11:21:47:219]: Note: 1: 2756 2: OLD_START_MENU_FOLDER MSI (s) (28:18) [11:21:47:313]: Note: 1: 2756 2: OLD_MSI_PROGRAM_GROUP_UP_PATH MSI (s) (28:18) [11:21:47:313]: Note: 1: 2756 2: OLD_MSI_PROGRAM_GROUP_UPUP_PATH MSI (s) (28:18) [11:21:47:406]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value:'1'. MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: BindImage MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: ProgId MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: PublishComponent MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: SelfReg MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: Extension MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: Font MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2: 3: Class MSI (s) (28:18) [11:21:47:406]: Note: 1: 2727 2: MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that application with id 2776, friendly name 'GUI for Unlimited Data Manager', of type RmUnknownApp and status 1 holds file[s] in use. MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that application with id 2148, friendly name 'UDM Service', service short name 'UDM Service', of type RmService and status 1 holds file[s] in use. MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that the service UDM Service will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that application with id 516, friendly name 'Sesam Control Service', service short name 'SesamService', of type RmService and status 1 holds file[s] in use. MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that the service SesamService will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Shell Hardware Detection', service short name 'ShellHWDetection', of type RmService and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:358]: RESTART MANAGER: Session opened. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 2776, friendly name 'GUI for Unlimited Data Manager', of type RmMainWindow and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Application Experience', service short name 'AeLookupSvc', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Application Information', service short name 'Appinfo', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Application Management', service short name 'AppMgmt', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Background Intelligent Transfer Service', service short name 'BITS', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Extensible Authentication Protocol', service short name 'EapHost', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that application with id 1056, friendly name 'Group Policy Client', service short name 'gpsvc', of type RmCritical and status 1 holds file[s] in use. MSI (c) (24:C0)
Re: [WiX-users] Re start Manager on Vista
Anidil wrote: Hello there..any luck on this issue? even I'm facing the same problem Stefan Pavlik-2 wrote: Hi, I have a problem with Restart Manager on Windows Vista. During uninstallation of our application (usually after establishing the connection - our software is manager for Data Cards) the Windows Installer shows that it needs to close and restart several system services (e.g. Application Experience, Application Information, Application Management, Background Intelligent Transfer Service, Certificate Propagation, Extensible Authentication Protocol, Group Policy Client, IKE and AuthIP IPsec Keying Modules,). After pressing OK the installation ends with restart required. My problem is that I do not know how to avoid displaying of such ugly dialog (the user is unable to stop the system services). All services are hosted in one process (svchost.exe) and therefore all services are displayed to the user. Any help is highly appreciated. Thanks Stefan I still have no solution for this problem. Stefan -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ServiceInstall and major upgrade
Hi, What's the recommended way to preserve a service during major upgrade? On a fresh install I prompt the user for credentials. On a major upgrade I'd like to skip the ServiceInstall part for both uninstalling of the previous version and installing the new one, I want to leave the service alone. What's the cleanest way to accomplish this? Thx dB. -dB. dblock.org http://www.dblock.org/ / foodcandy.com http://www.foodcandy.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CustomAction in a Module to be executed as a Launchcondition?
Hi all! I have a small problem. In a Module I would like to test that another module is already installed. In the Product I can use the following: Product .. Property Id='OLD_CORE_IS_INSTALLED' ComponentSearch Id='OldCoreSearch' Guid='9776c872-dbdf-46bd-9cf3-dc0a786e31a2'/ /Property Condition Message=Old Fls.Pro.Alm.BE module must be installed. OLD_CORE_IS_INSTALLED OR Installed /Condition That will give the error dialog and the install aborts, just as I want. In a merge module I cannot use the Condition so I use a custom action instead Module .. Property Id='OLD_CORE_IS_INSTALLED' ComponentSearch Id='OldCoreSearch' Guid='9776c872-dbdf-46bd-9cf3-dc0a786e31a2'/ /Property CustomAction Id=CA_OLD_CORE_IS_INSTALLED Error=Old Fls.Pro.Alm.BE module must be installed. / InstallExecuteSequence Custom Action=CA_OLD_CORE_IS_INSTALLED After=AppSearch ![CDATA[NOT OLD_CORE_IS_INSTALLED AND NOT Installed]]/Custom /InstallExecuteSequence The error dialog comes up, but that is first when the merge module is installing, NOT as a launch condition! I have tried to change the After=AppSearch to some other value, but without any changes. Are there any way that I can get the merge module custom action to run at the same time as the normal condition in the Product? I'm using WiX 3.0.3907.0. Regards Bent - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Systray doesn't work during Repair
Then try NOT REMOVE as condition. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Apr 1, 2008, at 17:42 , Anidil wrote: I get the systray launched both at install and repair when i set the condition as 1. But the CA Custom Action='LaunchSystrayExe' After='InstallFinalize'1/Custom get executed during the uninstall as well[which i don't want] and errors out as the installed files are not available at the end of uninstall.How should i be sequencing it so that it work fine with install,repair and uninstall? Sebastian Brand-2 wrote: How about just 1 as Condition to have the CA executed always? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Mar 27, 2008, at 11:18 , Anidil wrote: It works fine during repair when i change the condition to Installed.But it doesn't launch automatically after the installation unless i make it NOT Installed , in that case repair doesn't work :(...strange.. Here is a snip of my code ... CustomAction Id=TerminateSystray.SetProperty Return=check Property=CustomActionData Value=systrayprocess.exe/ CustomAction Id=TerminateSystray BinaryKey=KillMeSoftlyDll DllEntry=KillMeSoftly / InstallExecuteSequence .. Custom Action=TerminateSystray.SetProperty Before=InstallValidateInstalled/Custom Custom Action=TerminateSystray Before=InstallValidateInstalled/Custom Custom Action='LaunchSystrayExe' After='InstallFinalize'Installed/ Custom /InstallExecuteSequence where KillMeSoftly is a dll CA which kills the systray process softly by sending a WM_CLOSE message Wilson, Phil wrote: Unless my eyes are deceiving me, your custom action has a condition of Not Installed. Your product *is* installed when you do a repair. You have the pseudo-code If my product is Not Installed then run app.exe. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Wednesday, March 26, 2008 3:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Systray doesn't work during Repair I use the following code to launch a systray CustomAction Id=LaunchSystrayExe Directory=INSTALLDIR ExeCommand=[INSTALLDIR]Systray.exe Return=ignore / And sequence the same in the InstallExecuteSequence as follows ... Custom Action='LaunchSystrayExe' After='InstallFinalize'Not Installed/Custom It's working perfectly for a normal install.But when i repair the MSI installation, the systray doesn't seems to be launching again.Can anyone give an insight on this issue? NB:I use another CA for killing the systray. -- View this message in context: http://www.nabble.com/Systray-doesn%27t-work-during-Repair-tp16299140p16299140.html Sent from the wix-users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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/Systray-doesn%27t-work-during-Repair-tp16299140p16323322.html Sent from the wix-users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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/Systray-doesn%27t-work-during-Repair-tp16299140p16418689.html Sent from the wix-users mailing list
Re: [WiX-users] Sorted ListView with Icons?
I have the same problem. I also see that the ListView seem to support 16 color icons only? Can someone confirm that this is a MSI bug/limitation? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Apr 1, 2008, at 12:58 , Colin Law wrote: Hi, I'm trying to create a ListView control that is populated from a CustomAction. This works fine, displaying the list items I add along with an appropriate icon, however as soon as I mark the ListView as Sorted=yes, the icon is no longer displayed. I want the order defined within the custom action, so I'm setting the order column. I created a simple test case also. adding the ListItem's manually rather than from a custom action, same behaviour. Is this a bug, or am I misunderstanding something? I'm using WiX 3.0.3907.0. ~Colin. _ Amazing prizes every hour with Live Search Big Snap http://www.bigsnapsearch.com - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] msi package compression
Look at the CompressionLevel attribute of the Media element. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Koloszar Jozsef Sent: Thursday, April 03, 2008 3:11 AM To: Bob Arnson Cc: WiX-users@lists.sourceforge.net Subject: [WiX-users] msi package compression hi, i have a big problem. i'm building my msi installer, and its just too big. it contains 6MBs worth of files, and the final msi installer size is 10MB !!! the installer contais a single package, and i have compressed='yes' specified. so what's the problem. (if i pass the msi file through zip, its get compressed to 4-5MB. please don't tell me i need to bootstrap to compress... i fell like i'm missing something important here. thanks for any and all the help you can provide! joe koloszar - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem upgrading from per user to system-wide
I was afraid this was the case. Is there a typical approach to fixing this mistake when pushing an upgrade to a product that is already out in the wild? On Wed, Apr 2, 2008 at 8:23 PM, Christopher Painter [EMAIL PROTECTED] wrote: Upgrades ( including Major ) can't migrate an installed application from per-user to all-users. You have to first uninstall the app for each user who might have installed it and then reinstall the application as all user.This servicing ugliness is the reason for MSI Tao Rule # 30. http://blogs.msdn.com/windows_installer_team/archive/2006/05/24/605835.aspx *Chad Blomquist [EMAIL PROTECTED]* wrote: In my initial realease of a product, the installer left the ALLUSERS property undefined. As a result, the software seems to be installed per-user instead of for all users on the system. When I correct this and set the ALLUSERS property to 1, the upgrade fails to remove the old version. If, in the new installer, I leave ALLUSERS undefined, upgrade works as expected. What should I do to remove the previous versions? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Accesshttp://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com, No Cost. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CNDL0010: The Class/Server attribute was not found
Hi, I'm using heat to harvest files in a directory. One of the DLLs have hundreds of dependencies. When I run candle with the fragments I get hundreds of error CNDL0010: The Class/@Server attribute was not found; it is required. I spent some time searching for a solution on the Internets and it seems this may be a bug in heat. Does anyone know if this is fixed? An explanation for why the Server attribute is required would be awesome. I like geeky side tracks. -Zenko -- I would rather be exposed to the inconveniences attending too much liberty than to those attending too small a degree of it. - Thomas Jefferson - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Re start Manager on Vista
This kind of thing needs a log to see exactly what's going on. Do you have ServiceControl elements for those services to do an uninstall stop and uninstall start? Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Pavlik Sent: Thursday, April 03, 2008 5:49 AM To: Anidil Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Re start Manager on Vista Anidil wrote: Hello there..any luck on this issue? even I'm facing the same problem Stefan Pavlik-2 wrote: Hi, I have a problem with Restart Manager on Windows Vista. During uninstallation of our application (usually after establishing the connection - our software is manager for Data Cards) the Windows Installer shows that it needs to close and restart several system services (e.g. Application Experience, Application Information, Application Management, Background Intelligent Transfer Service, Certificate Propagation, Extensible Authentication Protocol, Group Policy Client, IKE and AuthIP IPsec Keying Modules,). After pressing OK the installation ends with restart required. My problem is that I do not know how to avoid displaying of such ugly dialog (the user is unable to stop the system services). All services are hosted in one process (svchost.exe) and therefore all services are displayed to the user. Any help is highly appreciated. Thanks Stefan I still have no solution for this problem. Stefan -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem upgrading from per user to system-wide
For an ISV, you'll have to provide an uninstall utility with instructions for it to run in the context of every user who ever installed the product.For an enterprise, running that in a GPO assigned user logon script. Chad Blomquist [EMAIL PROTECTED] wrote: I was afraid this was the case. Is there a typical approach to fixing this mistake when pushing an upgrade to a product that is already out in the wild? On Wed, Apr 2, 2008 at 8:23 PM, Christopher Painter [EMAIL PROTECTED] wrote: Upgrades ( including Major ) can't migrate an installed application from per-user to all-users. You have to first uninstall the app for each user who might have installed it and then reinstall the application as all user.This servicing ugliness is the reason for MSI Tao Rule # 30. http://blogs.msdn.com/windows_installer_team/archive/2006/05/24/605835.aspx Chad Blomquist [EMAIL PROTECTED] wrote: In my initial realease of a product, the installer left the ALLUSERS property undefined. As a result, the software seems to be installed per-user instead of for all users on the system. When I correct this and set the ALLUSERS property to 1, the upgrade fails to remove the old version. If, in the new installer, I leave ALLUSERS undefined, upgrade works as expected. What should I do to remove the previous versions? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. - You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] msi package compression
thanks for the tip. i set it to 'high' and got 1MB of improvement. then i had an idea, i chose not to embed the cab, and here's what i found the resulting .cab file (containing all files) was in fact only 2MB, the .msi was a whopping 7MB (!), is that really as good as it gets? all my installer does is a license agreement and the install path gui. i'm also have the WixUIExtensions referenced here are some more relevants: Property Id=WIXUI_INSTALLDIR Value=INSTALLDIR / UIRef Id=WixUI_InstallDir / UIRef Id=WixUI_ErrorProgressText / WixVariable Id=WixUILicenseRtf Value=pblicense.rtf / WixVariable Id=WixUIBannerBmp Value=bannrbmp.bmp / WixVariable Id=WixUIDialogBmp Value=dlgbmp.bmp / any other suggestions? thanks in advance Date: Thu, 3 Apr 2008 10:01:20 -0400 From: Brian Simoneau [EMAIL PROTECTED] Subject: Re: [WiX-users] msi package compression To: WiX-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Look at the CompressionLevel attribute of the Media element. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Koloszar Jozsef Sent: Thursday, April 03, 2008 3:11 AM To: Bob Arnson Cc: WiX-users@lists.sourceforge.net Subject: [WiX-users] msi package compression hi, i have a big problem. i'm building my msi installer, and its just too big. it contains 6MBs worth of files, and the final msi installer size is 10MB !!! the installer contais a single package, and i have compressed='yes' specified. so what's the problem. (if i pass the msi file through zip, its get compressed to 4-5MB. please don't tell me i need to bootstrap to compress... i fell like i'm missing something important here. thanks for any and all the help you can provide! joe koloszar - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Support Packaging Formats
We have several products we would like to release and deliver through the web, CDROM, LAN/network, and possibly DVD. Does WiX support these methods of delivery? I have tried looking at tutorials and documentation and the only thing I have found are compression options specified within the Package tag. If someone could point me to the right direction it would be much appreciated. Thanks, DP. You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] msi package compression
On Thu, 03 Apr 2008 18:36:18 +, Koloszar Jozsef wrote: József, only 2MB, the .msi was a whopping 7MB (!), is that really as good as it gets? I don't know what's inside your MSI (you can use the MSI packer plugin in Total Commander to look into it just like into any other packed file) but, just a thought: if you refer to a large executable just because it contains the icon you want to use, the whole executable will appear in the MSI. And if you deploy the same executable with your product, the file will be included twice, once for the icon, once for the deployment. Bye, Gábor --- DEÁK JAHN, Gábor -- Budapest, Hungary E-mail: [EMAIL PROTECTED] - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Provide Wireless Hazardous Gas Sensor Detector
We can provide device to detect and report hazardous gas such as: Hydrogen sulfide(H2S) 0-100 ppm Hydrogen(H2) Formaldehyde(HCHO) 0-100 ppm Carbon monoxide(CO) 250-5000 ppm Fluorine gas(F2) 0-1 ppm Acetylene(C2H2) 0-100%LEL Carbon dioxide(CO2) 0-5 ppm Sulfur dioxide(SO2) 0-100 ppm Nitrogen dioxide(NO2)0-30 ppm Chlorinedioxide(CLO2) 0-3 ppm With 4-20mA standard output and low power consumption (less than 30mA), the detecting sensor can report to controller wirelessly by embedded RF module.Also, the sensor can by powered by battery as a stand-alone without cable. The sensors is protected by explosion proof housing Hotline: 86 755 88832548 Contact: Mr.Ling / YADA INC. Email:[EMAIL PROTECTED] - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiXSqlExtension issue on Vista with UAC
Look what I found when I ran validate from Orca ICE68 ERROR TSAware flag (msidbCustomActionTypeTSAware) set for CustomAction 'RollbackExecuteSqlStrings'. Flag is only available for deferred, impersonated custom actions ICE68 ERROR TSAware flag (msidbCustomActionTypeTSAware) set for CustomAction 'ExecuteSqlStrings'. Flag is only available for deferred, impersonated custom actions ICE68 ERROR TSAware flag (msidbCustomActionTypeTSAware) set for CustomAction 'DropDatabase'. Flag is only available for deferred, impersonated custom actions ICE68 ERROR TSAware flag (msidbCustomActionTypeTSAware) set for CustomAction 'CreateDatabase'. Flag is only available for deferred, impersonated custom actions ICE68 ERROR TSAware flag (msidbCustomActionTypeTSAware) set for CustomAction 'RollbackCreateDatabase'. Flag is only available for deferred, impersonated custom actions Any clues how to fix this? Jacob On Sun, Mar 23, 2008 at 8:44 PM, Sajo Jacob [EMAIL PROTECTED] wrote: are you testing by running from an elevated command prompt? I believe this will cause impersonated actions to be elevated. No, Running uninstallation from an elevated command prompt is the only way I am able to cleanly uninstall the product along with the database. The uninstallation fails when I am trying to uninstall by going to Add Remove Programs and clicking on uninstall. If you turned impersonation *off* this would help you for the local installation case – as the action then runs as LocalSystem, which is a member of BUILTIN\Administrators Which immediate custom actions are you talking about here? And I am assuming you want me to edit the MSI with a post build event to turn off impersonation for these immediate actions that you mention of? My product installs a database on a local machine only, which it does create sucessfully without any issues even on SQLExpress. Like I mentioned earlier, the issue is only when I uninstall and the installer attempts to drop the database. Do you think I should simply do a DropOnUninstall=no so that the database is not dropped by the custom actions generated by the WiXSQLExtension and manually drop the database from a VBScript custom action which is deferred? Jacob On Sun, Mar 23, 2008 at 2:56 AM, Mike Dimmick [EMAIL PROTECTED] wrote: SQL Server 2005 has a very extensive security model of its own. In order to drop a database, the connecting account needs CONTROL permission on the database. This permission is automatically granted to the database owner and implicitly to members of the *sysadmin* server role (CONTROL on a database is implied by CONTROL SERVER permission on the server). The BUILTIN\Administrators Windows security group is by default a member of the *sysadmin* server role. On Windows Vista the membership of this group is only expressed in the privileged token accessed through UAC, not in the low-privilege token. The modifying SQL custom actions are all executed deferred and impersonated. (As always, the custom tables built by the compiler are read and turned into appropriate deferred custom action data by the immediate actions, but the actual *operations* are performed by deferred actions as part of the installation transaction.) My understanding of the installation process under UAC was that even the create actions would not be elevated – are you testing by running from an elevated command prompt? I believe this will cause impersonated actions to be elevated. If you turned impersonation *off* this would help you for the local installation case – as the action then runs as LocalSystem, which is a member of BUILTIN\Administrators – but doesn't help for installation on a remote SQL Server, which some users of WiX may need (as LocalSystem authenticates as the machine on a domain network, but has no network credentials in a workgroup). That really leaves specifying a SQL Server login to connect, but this is turned off by default in the SQL Server Express installer and not recommended in full SQL Server as the password is sent 'in the clear'. It's only encrypted if the whole connection is encrypted, which requires that the server has an SSL certificate installed. Many sites may not want to enable SQL Server Authentication. I'm not sure there's a simple solution, because Windows Installer doesn't offer a way to impersonate any other user. I'm rapidly concluding that you can't reliably install SQL databases from Windows Installer. Any competent DBA will want to control layout of files on the database server's disks anyway. I think the best approach is to ship scripts and leave it up to the DBA to create the database. That's the approach I'm taking. Another approach would be to provide the database as a separate feature, so that the DBA or other administrator could run the MSI on the database server itself to install the database. Microsoft's recommendation
[WiX-users] is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components
Is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components or do I have to essentially define a FeatureGroup and have that contain Feature definitions aligned with the component options I want to be provided as optional selections? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bewildered and confused (installing multiple versions of an application plug-in)
Bear with me, there's a question or five (or at least a request for pointers) at the bottom. I am the developer of an open source plug-in to the commercial product 3ds Max made by Autodesk. That product exists in a number of currently active versions (pretty much on a yearly cycle, with up to 3 year lag in adoption). Additionally, it exists in x86 and x64 versions. The binary API for the plug-ins breaks every version, although source breakage is minor if any. Additionally, users will typically have multiple versions of the host application installed side-by-side. Previously, I have used a combination of a visual studio build project and a visual studio deployment project, and built one plug-in and installer per combination. That's a lot of combinations, and last time, I spent an entire Saturday just making all of that work, rather than working on the actual plug-in code. Additionally, I discovered that the msi files generated by Visual Studio 2005 sp1 Vista don't actually install correctly under UAC, even if you press the raise elevation button -- you have to start the installer from an admin command line for it to work right. Blech! So, someone suggested I move to using WiX for generating installers. That sounds like a good idea, at least in theory. I'm a generally savvy C++ and XML developer, with a good grasp of Win32, but only a light smattering of Windows Installer concepts. However, I've now put together a single Visual Studio project that builds for all six different flavors (plus debug/release versions of each), so half of the battle is won. Now I need to figure out how to create a WiX installer script for what I want to do. Unfortunately, almost all the documentation and samples I've found refer to installing a typical application. I'm installing just a DLL, plus some dependencies, plus some documentation, and I must install the DLL into a very specific location based on where the host application is installed. Until now, I've hard-coded the location (assuming it's always ProgramFiles/Autodesk/3ds Max version/plugins), but if I'm doing it right, I might as go ahead and get the correct install location out of the 3ds Max installer information. So, what I want to do is the following: 0) Scan for previous installations, and un-install them if present. 1) Scan for the presence of up to N different products (3ds Max of different flavors), and extract the install directory for each of those. 2) Depending on the versions found, copy the right version(s) of the plug-in to the right destination(s). 3) Extract the D3DX dependency installer, which is an EXE and a set of cabs/msis, not available as merge modules, and execute that installer silently in the background 4) Install the visual studio redist merge module for x86 and, if any x64 target is active, x64 5) Install the documentation in some reasonable place. I've been putting it in the installdir, but it's probably better to put it in the user's documents folder. So, what all are the incantations I need to do to pull all of this off? I think I know how to do 0) using RemoveExistingProducts. I don't quite know how to do 1) -- I know how to use FindExistingProducts, but not how to apply the findings to 2). I'm a little hazy on 3). It only needs to be done once, even if multiple versions of the DLL are installed. Is putting these files in a subfolder of the temp directory, and then chaining out to the EXE the right thing to do? If so, what actions/elements should I use for this? 4) I can do this using Merge in my Product, I believe? 5) How do I handle the case of current user vs all users when it comes to documentation? Putting it on the desktop, or the user's documents folder, used to generate a warning about this in the Visual Studio deployment project set-up. I understand that I probably should solve one problem at a time, but I figured that if I intrude on the attention of the list readers, I might as well put all the known questions in a single message. Looking forward to any replies, and thanks in advance! -- View this message in context: http://www.nabble.com/Bewildered-and-confused-%28installing-multiple-versions-of-an-application-plug-in%29-tp16475968p16475968.html Sent from the wix-users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components
Ok I pulled the trigger a little to fast on this question as a search of the mail archive provided the answer. On a related note is the setup below the right way to essentially say that the Sites feature has optional Site1 and Site2 subfeatures and if regardless of which one you select you get the Documentation + Log + Counter components installed? If so would a person be able to unselect Site1 and Site2 and still end up installing the Sites Documentation + Log + Counter components? Feature Id=Sites Title=Sites Level=1 ComponentRef Id=Documentation / ComponentRef Id=Log / ComponentRef Id=Counter / Feature Id=Site1 Title=Site1 Level=1 ComponentRef Id=Site1 / /Feature Feature Id=Site2 Title=Site2 Level=1 ComponentRef Id=Site2 / /Feature /Feature From: Robert O'Brien Sent: Thursday, April 03, 2008 4:02 PM To: 'wix-users@lists.sourceforge.net' Subject: is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components Is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components or do I have to essentially define a FeatureGroup and have that contain Feature definitions aligned with the component options I want to be provided as optional selections? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiXSqlExtension issue on Vista with UAC
Sajo Jacob wrote: Any clues how to fix this? If SQL Express requires elevated privileges to drop a database, it works differently than SQL Server and will require a different CA to do so. It might be the same code but a new CA entry to be elevated. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Support Packaging Formats
DP Ludwig wrote: We have several products we would like to release and deliver through the web, CDROM, LAN/network, and possibly DVD. Does WiX support these methods of delivery? MSI does. Its support for over-the-Web installs is limited, however; most folks use some kind of wrapper to handle downloading. Otherwise, use Media to define your cabinets and copy them to master media however you want. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction in a Module to be executed as a Launchcondition?
BEN, Bent Nicolaisen, AT wrote: InstallExecuteSequence Custom Action=CA_OLD_CORE_IS_INSTALLED After=AppSearch ![CDATA[NOT OLD_CORE_IS_INSTALLED AND NOT Installed]]/Custom /InstallExecuteSequence The error dialog comes up, but that is first when the merge module is installing, NOT as a launch condition! It is a launch condition, but it's happening in the execute sequence, not the UI sequence. Try using InstallUISequence instead. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] msi package compression
DEÁK JAHN, Gábor wrote: I don't know what's inside your MSI (you can use the MSI packer plugin in Total Commander to look into it just like into any other packed file) but, just a thought: if you refer to a large executable just because it contains the icon you want to use, the whole executable will appear in the MSI. And if you deploy the same executable with your product, the file will be included twice, once for the icon, once for the deployment. The same is true of any blob type, both Icon and Binary. OLE storage doesn't compress them. If you have big bitmaps, try reducing the color depth. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Launching custom action Impersonated, but non-elevated on Vista
Dan Giambalvo wrote: I'm using Wix to build an installer for my Vista application. I want the user to be able to launch the application when the install completes (as is standard in many installers.) Because my application stores all it's data in %appdata% it has to run impersonated. However, my application specifically does not want to run elevate when UAC is enabled. Since the installer itself runs elevated, it appears to launch the custom action elevated as well. Only non-impersonated CAs run elevated. The exception is if you launch your .msi package from an elevated setup.exe or self-extractor -- in that case, the entire MSI is elevated and you can't change that. Vista doesn't allow an app to give away privileges. I fixed this Flight Simulator by launching the app from a setup.exe that was marked asInvoker. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bewildered and confused (installing multiple versions of an application plug-in)
jwatte wrote: I think I know how to do 0) using RemoveExistingProducts. Yes. I don't quite know how to do 1) -- I know how to use FindExistingProducts, but not how to apply the findings to 2). Create components for each one and use the properties in each UpgradeVersion/@Property attribute to conditionalize them. Use UpgradeVersion/@OnlyDetect=yes to avoid uninstalling the products. I'm a little hazy on 3). It only needs to be done once, even if multiple versions of the DLL are installed. Is putting these files in a subfolder of the temp directory, and then chaining out to the EXE the right thing to do? That requires a chainer. You can't install an MSI as a custom action of another MSI. 4) I can do this using Merge in my Product, I believe? Yes, but not mixing both x86 and x64. MSI allows a package to target only one platform, so you'd need two packages. 5) How do I handle the case of current user vs all users when it comes to documentation? Putting it on the desktop, or the user's documents folder, used to generate a warning about this in the Visual Studio deployment project set-up. The problem with installing files to users' directories is that they generally feel that any files there are theirs to do with as they please. I suggest installing the file to a Program Files directory, then creating a shortcut to it. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] is there a way to get WixUI_Mondo and WixUI_FeatureTree to show feature tree components
Robert O'Brien wrote: Ok I pulled the trigger a little to fast on this question as a search of the mail archive provided the answer. On a related note is the setup below the right way to essentially say that the Sites feature has optional Site1 and Site2 subfeatures and if regardless of which one you select you get the Documentation + Log + Counter components installed? If so would a person be able to unselect Site1 and Site2 and still end up installing the Sites Documentation + Log + Counter components? Yes and yes, but the user could de-select Sites and get none of it. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiXSqlExtension issue on Vista with UAC
I think here is the issue, WiX code base- SQLExtension.wxs CustomAction Id=CreateDatabase BinaryKey=ScaExecute2 DllEntry=CreateDatabase Execute=deferred Return=check HideTarget=yes SuppressModularization=yes *TerminalServerAware=yes* / CustomAction Id=RollbackCreateDatabase BinaryKey=ScaExecute2 DllEntry=DropDatabase Execute=rollback Return=check HideTarget=yes SuppressModularization=yes *TerminalServerAware=yes* / CustomAction Id=DropDatabase BinaryKey=ScaExecute2 DllEntry=DropDatabase Execute=deferred Return=check HideTarget=yes SuppressModularization=yes *TerminalServerAware=yes* / CustomAction Id=ExecuteSqlStrings BinaryKey=ScaExecute2 DllEntry=ExecuteSqlStrings Execute=deferred Return=check HideTarget=yes SuppressModularization=yes *TerminalServerAware=yes* / CustomAction Id=RollbackExecuteSqlStrings BinaryKey=ScaExecute2 DllEntry=ExecuteSqlStrings Execute=rollback Return=check HideTarget=yes SuppressModularization=yes *TerminalServerAware=yes* / TerminalServerAware should be set to No and Impersonate should be set to no, that should fix it. Jacob On Thu, Apr 3, 2008 at 6:43 PM, Bob Arnson [EMAIL PROTECTED] wrote: Sajo Jacob wrote: Any clues how to fix this? If SQL Express requires elevated privileges to drop a database, it works differently than SQL Server and will require a different CA to do so. It might be the same code but a new CA entry to be elevated. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
I am doing an MSI that must run multiple custom actions sequentially on install and on uninstall. These custom actions involve running the same installed file all over again. They also involve deleting certain directories. Is there a clean way of achieving this? Currently, the setup complains and fails to complete while running multiple of these. I attached my original file and snippets of the code can be found below. I used the way recommended in the WIX wiki. What is also worth to note is that the commented STUB_SETUP will work. However, the other uncommented items will not. I appreciate any insight that you would be able to offer into this matter. Thanks, RG CustomAction Id=SET_STUBENV Return=check Execute=immediate Property=STUBENV Value=[TARGETDIR]$(var.SKUName).exe / CustomAction Id=STUB_SETUP Property=STUBENV Execute=commit ExeCommand=/setup Return=ignore Impersonate=no / CustomAction Id=LaunchFile Property=STUBENV ExeCommand=/installA / CustomAction Id=LaunchFile2 Property=STUBENV ExeCommand=/loadProfile .\Profile\Settings.settings / InstallUISequence LaunchConditions After=AppSearch / Custom Action=ERRCA_CANCELEXISTINGVERSION After=ValidateProductIDEXISTINGPRODUCTFOUND AND NOT Installed/Custom Custom Action=ERRCA_ALREADYNEWERVERSION After=ERRCA_CANCELEXISTINGVERSIONNEWPRODUCTFOUND AND NOT Installed/Custom Custom Action=DIRCA_TARGETDIR After=ERRCA_ALREADYNEWERVERSIONTARGETDIR=/Custom Custom Action=DIRCA_VSINSTALLDIR After=DIRCA_TARGETDIRVSINSTALLDIR=/Custom Custom Action=DIRCA_VSROOTDIR After=DIRCA_VSINSTALLDIRVSROOTDIR=/Custom Show Dialog=ResumeForm After=IsolateComponentsInstalled= AND RESUME/Show Show Dialog=MaintenanceForm After=ResumeForm![CDATA[Installed]]/Show Show Dialog=WelcomeForm After=CostFinalizeInstalled= AND NOT RESUME/Show Show Dialog=ProgressForm After=WelcomeForm / Show Dialog=FatalErrorForm OnExit=errorNOT HideFatalErrorForm/Show Show Dialog=UserExitForm OnExit=cancel / Show Dialog=FinishedForm OnExit=success / /InstallUISequence AdminExecuteSequence Custom Action=ERRCA_ADMINORADVERTISED Before=CostInitialize / /AdminExecuteSequence AdvertiseExecuteSequence Custom Action=ERRCA_ADMINORADVERTISED Before=CostInitialize / /AdvertiseExecuteSequence InstallExecuteSequence LaunchConditions After=AppSearch / Custom Action=DIRCA_TARGETDIR After=ValidateProductIDTARGETDIR=/Custom Custom Action=DIRCA_VSINSTALLDIR After=DIRCA_TARGETDIRVSINSTALLDIR=/Custom Custom Action=SET_STUBENV After=DIRCA_VSINSTALLDIRSTUBENV=/Custom Custom Action=DIRCA_VSROOTDIR After=SET_STUBENVVSROOTDIR=/Custom !-- Custom Action=STUB_SETUP After=MsiPublishAssemblies / -- Custom Action=LaunchFile After=InstallFiles / Custom Action=LaunchFile2 After=LaunchFile / Custom Action=ERRCA_CANCELEXISTINGVERSION After=FindRelatedProductsEXISTINGPRODUCTFOUND/Custom Custom Action=ERRCA_ALREADYNEWERVERSION After=ERRCA_CANCELEXISTINGVERSIONNEWPRODUCTFOUND/Custom RemoveExistingProducts After=InstallInitialize / /InstallExecuteSequence - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CNDL0010: The Class/Server attribute was not found
If there isn't a bug filed on http://sourceforge.net/tracker/?group_id=105970atid=642714 you should create one. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Apr 3, 2008, at 18:46 , Zenko Klapko Jr. wrote: Hi, I'm using heat to harvest files in a directory. One of the DLLs have hundreds of dependencies. When I run candle with the fragments I get hundreds of error CNDL0010: The Class/@Server attribute was not found; it is required. I spent some time searching for a solution on the Internets and it seems this may be a bug in heat. Does anyone know if this is fixed? An explanation for why the Server attribute is required would be awesome. I like geeky side tracks. -Zenko -- I would rather be exposed to the inconveniences attending too much liberty than to those attending too small a degree of it. - Thomas Jefferson - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users