We have a C# assembly that contains methods called during install and
uninstall.  But, on Windows XP it appears that both actions are being
called, CAInstall and later CAUninstall.  How can this be?

 

Here is the <CustomAction> and <InstallExecuteSequence> code

 

    <CustomAction Id="CAInstall"
FileKey="$(var.CustomAction.Install.WiX.TargetName)"
DllEntry="CAInstall" Impersonate="no" Execute="deferred" />

    <CustomAction Id="CAUninstall"
FileKey="$(var.CustomAction.Install.WiX.TargetName)"
DllEntry="CAUninstall" Impersonate="no" Execute="deferred" />

 

    <InstallExecuteSequence>

      <Custom Action="CAInstall" Before="InstallFinalize">NOT
Installed</Custom>

      <Custom Action="CAUninstall"
Before="RemoveFiles">Installed</Custom>

    </InstallExecuteSequence>

 

In task manager, we see two msiexec processes - one for the UI, one to
do the work.  We see a third pop up when running CAInstall.  Then a
fourth appears at the very end and appears to be running CAUninstall.

 

 

Kurt Jensen

Senior Software Engineer

Ophir-Spiricon

www.ophiropt.com/laser-measurement
<http://www.ophiropt.com/laser-measurement> 

 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.clearswift.com
**********************************************************************


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to