It works fine during repair when i change the condition to "Installed".But it
doesn't launch automatically after the installation unless i make it "NOT
Installed" , in that case repair doesn't work :(...strange..
Here is a snip of my code
...
<CustomAction Id="TerminateSystray.SetProperty" Return="check"
Property="CustomActionData" Value="systrayprocess.exe"/>
    <CustomAction Id="TerminateSystray" BinaryKey="KillMeSoftlyDll"
DllEntry="KillMeSoftly" />

<InstallExecuteSequence>  
...... 
<Custom Action="TerminateSystray.SetProperty"
Before="InstallValidate">Installed</Custom>
      <Custom Action="TerminateSystray"
Before="InstallValidate">Installed</Custom>
....
<Custom Action='LaunchSystrayExe' After='InstallFinalize'>Installed</Custom>
</InstallExecuteSequence>

where KillMeSoftly is a dll CA which kills the systray process softly by
sending a WM_CLOSE message



Wilson, Phil wrote:
> 
> Unless my eyes are deceiving me, your custom action has a condition of Not
> Installed. Your product *is* installed when you do a repair. You have the
> pseudo-code "If my product is Not Installed then run app.exe".
> 
> Phil Wilson
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
> Sent: Wednesday, March 26, 2008 3:08 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Systray doesn't work during Repair
> 
> 
> I use the following code to launch a systray
> 
> <CustomAction
>         Id="LaunchSystrayExe"
>         Directory="INSTALLDIR"
>         ExeCommand="[INSTALLDIR]Systray.exe"
>         Return="ignore" />
> 
> And sequence the same in the <InstallExecuteSequence> as follows
> ...
> <Custom Action='LaunchSystrayExe' After='InstallFinalize'>Not
> Installed</Custom>
> 
> It's working perfectly for a normal install.But when i repair the MSI
> installation, the systray doesn't seems to be launching again.Can anyone
> give an insight on this issue?
> 
> NB:I use another CA for killing the systray.
> --
> View this message in context:
> http://www.nabble.com/Systray-doesn%27t-work-during-Repair-tp16299140p16299140.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Systray-doesn%27t-work-during-Repair-tp16299140p16323322.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to