Re: [WiX-users] Custom Actions
Ok. So if want the exe to run on a admin command prompt, then setting Impersonate=no a better option ? From: Rob Mensching Sent: Monday, May 12, 2008 7:03 PM To: Harini Gurusamy; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: RE: Custom Actions Are you doing an admin install? If not, you'll want the action in the InstallExecuteSequence. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harini Gurusamy Sent: Monday, May 12, 2008 18:48 To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Actions I am trying to execute a custom action during install as below. But the exe never gets executed. Any pointers ?? NOT Installed Attaching the log file Thanks, Harini - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Permission attribute
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 Thanks Harini From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 9:58 PM To: Harini Gurusamy Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix Permission attribute Harini Gurusamy wrote: Is there an equivalent of " Extended" attribute in Permissions for 64 bit I believe extended attribute is only supported in 32 bits Not in WiX v2. Current builds of WiX v3 support operating on 64-bit portions of the file system from the 32-bit CAs. -- 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
Is WIX V3.0 released version or beta package From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 9:58 PM To: Harini Gurusamy Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix Permission attribute Harini Gurusamy wrote: Is there an equivalent of " Extended" attribute in Permissions for 64 bit I believe extended attribute is only supported in 32 bits Not in WiX v2. Current builds of WiX v3 support operating on 64-bit portions of the file system from the 32-bit CAs. -- 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] Wix Permission attribute
Is there an equivalent of " Extended" attribute in Permissions for 64 bit I believe extended attribute is only supported in 32 bits Harini - 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] Environment variable
Hi, I am trying to get the system drive from the environment variable in my wix code. I have a system which has multiple partitions of windows running. G:\ has x86 and C:\ has amd64. G:\is the active OS. But from the log files, MYAPPPATH always holds C:\ which is incorrect This is how MYAPPPATH is used ; ; ; Am I missing something ??? Harini - 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] Deleting files during Uninstall
ributes=1) MSI (s) (B8:D8) [10:55:09:713]: Executing op: RegAddValue(Name=C:\Windows\System32\playreadypc.cat,Value=#-,Attributes=1) MSI (s) (B8:D8) [10:55:09:713]: Executing op: ProgressTick() MSI (s) (B8:D8) [10:55:09:713]: Executing op: ActionStart(Name=UnpublishFeatures,Description=Unpublishing Product Features,Template=Feature: [1]) MSI (s) (B8:D8) [10:55:09:713]: Executing op: FeatureUnpublish(Feature=WMPSDK,,Absent=2,Component='bKk%kh~J9i'ZTN521$)ne*jb)[EMAIL PROTECTED],HLV&b?AF1)mAgy94) MSI (s) (B8:D8) [10:55:09:713]: Note: 1: 1402 2: UNKNOWN\Installer\Features\7E7D5E0B601AF854ABB7F2C8EA3AFB61 3: 2 MSI (s) (B8:D8) [10:55:09:713]: Executing op: ActionStart(Name=RemoveRegistryValues,Description=Removing system registry values,Template=Key: [1], Name: [2]) MSI (s) (B8:D8) [10:55:09:713]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=13200) MSI (s) (B8:D8) [10:55:09:713]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Microsoft\PlayReady,,BinaryType=0,) MSI (s) (B8:D8) [10:55:09:713]: Executing op: RegRemoveValue(,,) MSI (s) (B8:D8) [10:55:09:713]: Executing op: ActionStart(Name=RemoveFolders,Description=Removing folders,Template=Folder: [1]) MSI (s) (B8:D8) [10:55:09:713]: Executing op: FolderRemove(Folder=C:\ProgramData\Microsoft\PlayReady\,Foreign=0) MSI (s) (B8:D8) [10:55:09:713]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing product information,) MSI (s) (B8:D8) [10:55:09:713]: Executing op: CleanupConfigData() MSI (s) (B8:D8) [10:55:09:713]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=0,Remove=1) MSI (s) (B8:D8) [10:55:09:728]: Note: 1: 1402 2: UNKNOWN\Installer\Products\7E7D5E0B601AF854ABB7F2C8EA3AFB61\Patches 3: 2 MSI (s) (B8:D8) [10:55:09:728]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=1,Remove=1) MSI (s) (B8:D8) [10:55:09:728]: Executing op: CleanupConfigData(RemovingProduct=1) MSI (s) (B8:D8) [10:55:09:728]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7E7D5E0B601AF854ABB7F2C8EA3AFB61\Patches 3: 2 MSI (s) (B8:D8) [10:55:09:728]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=124800) MSI (s) (B8:D8) [10:55:09:728]: User policy value 'DisableRollback' is 0 MSI (s) (B8:D8) [10:55:09:728]: Machine policy value 'DisableRollback' is 0 MSI (s) (B8:D8) [10:55:09:728]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 48, szDescription: "". MSI (s) (B8:D8) [10:55:09:728]: The call to SRSetRestorePoint API succeeded. Returned status: 0. MSI (s) (B8:D8) [10:55:09:728]: Unlocking Server MSI (s) (B8:D8) [10:55:09:744]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. MSI (s) (B8:D8) [10:55:09:744]: Doing action: RemoveExistingProducts MSI (s) (B8:D8) [10:55:09:744]: Note: 1: 2205 2: 3: ActionText Action ended 10:55:09: InstallFinalize. Return value 1. MSI (s) (B8:D8) [10:55:09:744]: Skipping RemoveExistingProducts action: current configuration is maintenance mode or an uninstall Action start 10:55:09: RemoveExistingProducts. Action ended 10:55:09: RemoveExistingProducts. Return value 0. Action ended 10:55:09: INSTALL. Return value 1. Property(S): WMSDKDIR = C:\Windows\System32\ ____ From: Bob Arnson [EMAIL PROTECTED] Sent: Sunday, October 28, 2007 1:13 PM To: Harini Gurusamy Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Deleting files during Uninstall Harini Gurusamy wrote: Though my Uninstall succeeds , it does not remove the installed files. I am not using any attributes like permanent =yes in my code. From the log files,looks like a success ( return values=1 ) MSI (s) (F4:98) [07:59:01:700]: Doing action: RemoveFiles MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: ActionText Action ended 7:59:01: RemoveRegistryValues. Return value 1. MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: RemoveFile MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: RemoveFile Action start 7:59:01: RemoveFiles. That's the script-generation portion of the install; look further down for the script execution where the files are actually removed. Also, look at the log around the InstallValidate action to see what actions MSI is planning for your features and components. -- 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] Deleting files during Uninstall
Though my Uninstall succeeds , it does not remove the installed files. I am not using any attributes like permanent =yes in my code. From the log files,looks like a success ( return values=1 ) MSI (s) (F4:98) [07:59:01:700]: Doing action: RemoveFiles MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: ActionText Action ended 7:59:01: RemoveRegistryValues. Return value 1. MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: RemoveFile MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205 2: 3: RemoveFile Action start 7:59:01: RemoveFiles. Any pointers what's happening behind Thanks Harini - 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 CA
Still My catsign.exe is not executed. I tried (SourceFile=c:\windows\system32\catsign.exe ) also NOT Installed From: John Vottero [mailto:[EMAIL PROTECTED] Sent: Sunday, October 21, 2007 9:22 PM To: Harini Gurusamy; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Wix CA What's missing is: And the scheduling of that CA. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harini Gurusamy Sent: Sunday, October 21, 2007 10:18 PM To: John Vottero; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix CA Thanks for the quick help.. I tried this approach of using FileKey and doesn't work. Do I need the second step even if I am using execommand ?? Whats missing here NOT Installed < CustomAction Id='LaunchFile' return='check' FileKey='foo.exe' ExeCommand='' / > From: John Vottero [ma I ilto:[EMAIL PROTECTED] Sent: Sunday, October 21, 2007 7:03 PM To: Harini Gurusamy; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Wix CA It's a two step process, you have to set the property with the command you want to execute and then you have to execute the command. Your custom action sets the property. I'm not sure if the [SourceDir] reference will work or not, you can just use the file ID with a #, like this: After that, you need to execute the command like this: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harini Gurusamy Sent: Sunday, October 21, 2007 8:47 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix CA I am using WIX 2.0. I am trying to call an executable as part of my install. The EXE file is one of the installed files. But after the install , the EXE is never getting executed. Any pointers ?? My code snippet looks like NOT Installed **I tried InstallFinalize , still doesn't work Thanks Harini - 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 CA
Thanks for the quick help.. I tried this approach of using FileKey and doesn't work. Do I need the second step even if I am using execommand ?? Whats missing here NOT Installed < CustomAction Id='LaunchFile' return='check' FileKey='foo.exe' ExeCommand='' / > From: John Vottero [ma I ilto:[EMAIL PROTECTED] Sent: Sunday, October 21, 2007 7:03 PM To: Harini Gurusamy; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Wix CA It's a two step process, you have to set the property with the command you want to execute and then you have to execute the command. Your custom action sets the property. I'm not sure if the [SourceDir] reference will work or not, you can just use the file ID with a #, like this: After that, you need to execute the command like this: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harini Gurusamy Sent: Sunday, October 21, 2007 8:47 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix CA I am using WIX 2.0. I am trying to call an executable as part of my install. The EXE file is one of the installed files. But after the install , the EXE is never getting executed. Any pointers ?? My code snippet looks like NOT Installed **I tried InstallFinalize , still doesn't work Thanks Harini - 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] Wix CA
I am using WIX 2.0. I am trying to call an executable as part of my install. The EXE file is one of the installed files. But after the install , the EXE is never getting executed. Any pointers ?? My code snippet looks like NOT Installed **I tried InstallFinalize , still doesn't work Thanks Harini - 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] Registry and Permission
To whom should the bug be assigned to ? From: Bob Arnson [EMAIL PROTECTED] Sent: Monday, October 15, 2007 10:15 PM To: Harini Gurusamy Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Registry and Permission Harini Gurusamy wrote: < Permission Extended =”yes” Read=”yes” User=”Everyone” /> This works on 32 bit . But when Installing the msi on 64 bit , it throws an error ExecSecureObjects: Error 0x80070002: failed to get security info for object: When you use Permission/@Extended="yes", WiX runs a custom action; it's a 32-bit CA that doesn't know anything about the 64-bit portion of the registry so it can't write the ACLs. Please open a bug -- the CA should disable redirection for 64-bit components. -- 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] Registry and Permission
I am trying to set the permissions for a newly created registry key. The code looks like < Permission Extended ="yes" Read="yes" User="Everyone" /> This works on 32 bit . But when Installing the msi on 64 bit , it throws an error ExecSecureObjects: Error 0x80070002: failed to get security info for object: Any pointers ?? Harini - 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] Wix tool V2
I upgraded my wix tool to v2 and the *.wim file is generating some errors when building msi. Does anyone have a *.wim file that works successfully for v2 wix tool ?? Harini - 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