Can someone tell me what's wrong with this custom action? I can run the command 
manually, but the installer always failed


<Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLLOCATION" Name="CATests">
          <Component Id="comp_devcon.exe" DiskId="1" KeyPath="yes" 
Guid="D684333D-6460-4798-AA40-96B23123808E">
            <File Id="file_dvm_devcon.exe" Checksum="yes" Source="devcon.exe" />
          </Component>
      </Directory>
</Directory>
<CustomAction Id="disable_enlightened_device"
                  FileKey="file_dvm_devcon.exe"
                  ExeCommand="disable =display VMBUS*"
                  Execute="deferred"
                  HideTarget="no"
                  Impersonate="no" />
<InstallExecuteSequence>
   <Custom Action="disable_enlightened_device" After="InstallFiles">NOT 
Installed</Custom>
</InstallExecuteSequence>


The log file has this

MSI (s) (18:E8) [19:24:29:964]: Executing op: 
ActionStart(Name=disable_enlightened_device,,)
MSI (s) (18:E8) [19:24:30:027]: Executing op: 
CustomActionSchedule(Action=disable_enlightened_device,ActionType=3090,Source=C:\CATests\devcon.exe,Target=disable
 =display VMBUS*,)
CustomAction disable_enlightened_device returned actual error code 1 (note this 
may not be 100% accurate if translation happened inside sandbox)


Do I need to escape some characters or something? I tried to add quotes but it 
didn't work.

- Harrison

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to