Not sure what your logging problem would be, but I suspect that your custom
action does not have the necessary privilege to install drivers.

Have you looked at DifxApp?

-----Original Message-----
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Friday, July 16, 2010 8:17 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action not running

I am in the process of testing my installer on different operating systems.
The installer was created using 32-bit XP.  Everything works as expected and
the Custom Action is run.  The exit dialog states that the application has
been installed.  When I try running the installer on 32-bit Vista, all the
components get installed, but the custom action is not run.  In this case,
the exit dialog states that the installation ended prematurely due to an
error.  I tried to enable logging, but no log files were created.  Any tips
as to how to correctly enable logging or as to what might be causing this
issue?

The following is my custom action code:
    <!-- Install Driver Using Custom Action -->
    <Binary Id="loadDriver" SourceFile="MyCustomAction.dll" />
    <CustomAction Id="LaunchFile"
                  BinaryKey="loadDriver"
                  DllEntry="wixTab1394" />

    <InstallExecuteSequence>
      <Custom Action="LaunchFile" After="InstallFinalize">NOT
Installed</Custom>
    </InstallExecuteSequence>

This DLL launches a program that installs device drivers.  As expected, on
32-bit XP, the device driver is installed, whereas on Vista the installation
exits before the custom action is run.

Thanks,
Katelyn

Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the 
message and deleting it from your computer.  Thank you.

----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to