<CustomAction Id="UninstMM3Srv" Execute="commit" ExeCommand="-u"
FileKey="MM3ServerExe" Return="ignore"/>
   <InstallExecuteSequence>
     <Custom Action="UninstMM3Srv" After="DeleteServices">REMOVE ~=
"ALL"</Custom>
   </InstallExecuteSequence>

In the log file I see this:

MSI (s) (84:D0) [15:01:37:844]: Note: 1: 2205 2:  3: ActionText
Action ended 15:01:37: DeleteServices. Return value 1.
Action start 15:01:37: UninstMM3Srv.
MSI (s) (84:D0) [15:01:37:844]: Doing action: RemoveFiles
MSI (s) (84:D0) [15:01:37:844]: Note: 1: 2205 2:  3: ActionText
Action ended 15:01:37: UninstMM3Srv. Return value 1.
(...)
MSI (s) (84:D0) [15:01:37:937]: Scheduling file
'C:\Users\runem\Application
Data\Microsoft\Installer\{E30AABF8-255A-4AEC-B4D5-18498E378D2E}\Mikromarc3Server.exe'
for deletion during post-install cleanup (not post-reboot).
(...)
MSI (s) (84:D0) [15:01:37:953]: Executing op: ActionStart(Name=UninstMM3Srv,,)
MSI (s) (84:D0) [15:01:37:953]: Executing op:
CustomActionSchedule(Action=UninstMM3Srv,ActionType=1618,Source=C:\Program
Files (x86)\Mikromarc 3\Server\Bin\Mikromarc3Server.exe,Target=-u,)
(...next portion happens after RemoveFile...)
MSI (s) (84:D0) [15:01:38:296]: Note: 1: 1721 2: UninstMM3Srv 3:
C:\Program Files (x86)\Mikromarc 3\Server\Bin\Mikromarc3Server.exe 4:
-u
MSI (s) (84:D0) [15:01:38:296]: Note: 1: 2205 2:  3: Error
MSI (s) (84:D0) [15:01:38:296]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1721
Info 1721.There is a problem with this Windows Installer package. A
program required for this install to complete could not be run.
Contact your support personnel or package vendor. Action:
UninstMM3Srv, location: C:\Program Files (x86)\Mikromarc
3\Server\Bin\Mikromarc3Server.exe, command: -u

My executable is not launched (checked with ProcMon.exe). I thought
that since it was sequenced prior to RemoveFiles, it should have all
necessary files still available. What does CustomActionSchedule()
mean? Is my action scheduled for later execution?

I guess some of my executable's dependencies may have been
unregistered, but given that this fails before it even loads the main
executable, it should not be an issue.

TIA.

--
Rune

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to