Re: [WiX-users] Systray doesn't work during Repair

2008-04-03 Thread Sebastian Brand
Then try NOT REMOVE as condition.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Apr 1, 2008, at 17:42 , Anidil wrote:

 I get the systray launched both at install and repair when i set the
 condition as 1.
 But the CA Custom Action='LaunchSystrayExe'
 After='InstallFinalize'1/Custom  get executed during the  
 uninstall as
 well[which i don't want] and errors out as the installed files are not
 available at the end of uninstall.How should i be sequencing it so  
 that it
 work fine with install,repair and uninstall?



 Sebastian Brand-2 wrote:

 How about just 1 as Condition to have the CA executed always?

 Best regards,
 Sebastian Brand

 Instyler Software - http://www.instyler.com


 On Mar 27, 2008, at 11:18 , Anidil wrote:

 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=InstallValidateInstalled/Custom
Custom Action=TerminateSystray
 Before=InstallValidateInstalled/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


 -
 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-tp16299140p16418689.html
 Sent from the wix-users mailing list

Re: [WiX-users] Systray doesn't work during Repair

2008-04-01 Thread Anidil

I get the systray launched both at install and repair when i set the
condition as 1.
But the CA Custom Action='LaunchSystrayExe'
After='InstallFinalize'1/Custom  get executed during the uninstall as
well[which i don't want] and errors out as the installed files are not
available at the end of uninstall.How should i be sequencing it so that it
work fine with install,repair and uninstall?



Sebastian Brand-2 wrote:
 
 How about just 1 as Condition to have the CA executed always?
 
 Best regards,
 Sebastian Brand
 
 Instyler Software - http://www.instyler.com
 
 
 On Mar 27, 2008, at 11:18 , Anidil wrote:

 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=InstallValidateInstalled/Custom
  Custom Action=TerminateSystray
 Before=InstallValidateInstalled/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
 
 
 -
 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-tp16299140p16418689.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace

Re: [WiX-users] Systray doesn't work during Repair

2008-03-27 Thread Anidil

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=InstallValidateInstalled/Custom
  Custom Action=TerminateSystray
Before=InstallValidateInstalled/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


Re: [WiX-users] Systray doesn't work during Repair

2008-03-27 Thread Sebastian Brand
How about just 1 as Condition to have the CA executed always?

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Mar 27, 2008, at 11:18 , Anidil wrote:

 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=InstallValidateInstalled/Custom
  Custom Action=TerminateSystray
 Before=InstallValidateInstalled/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


-
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


Re: [WiX-users] Systray doesn't work during Repair

2008-03-27 Thread Jeremy Farrell
 From: Anidil
 Sent: Thursday, March 27, 2008 10:19 AM
 
 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..

What's strange? Think about it. When you set the condition to NOT installed 
you're saying only do this action if the product was not installed at the 
start of this MSI run. When you set the condition to installed you're saying 
only do this action if the product was installed at the start of this MSI run.

Is the product installed when you do the initial installation? Is the product 
installed when you're doing a repair?

-
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


[WiX-users] Systray doesn't work during Repair

2008-03-26 Thread Anidil

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


Re: [WiX-users] Systray doesn't work during Repair

2008-03-26 Thread Wilson, Phil
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