I changed the first InstallExecuteSequence to

<Custom Action="CAInstall" After="InstallFiles">NOT Installed</Custom>

Now each CA runs at the appropriate time. 
This seems like a bug somewhere.  Who would be interested?


-----Original Message-----
From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] 
Sent: Thursday, August 19, 2010 7:04 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Both Install and Uninstall Custom
Actionscalledduring install

No, this happens during a first time installation.

P.S.  We see MSI log data from CAInstall but no log data from
CAUninstall.  We verified that both were running by creating separate
files during each call.  Both files are created during one install.

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Thursday, August 19, 2010 2:20 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Both Install and Uninstall Custom Actions
calledduring install

Were you performing a major upgrade?

-----Original Message-----
From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] 
Sent: Wednesday, August 18, 2010 5:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Both Install and Uninstall Custom Actions called
during
install

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


------------------------------------------------------------------------
------
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

------------------------------------------------------------------------
------
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

------------------------------------------------------------------------------
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