Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Don't Start Services


3 replies to this topic

reesi02

reesi02
  • Members
  • 10 posts

Posted 05 July 2002 - 14:47

My package installs a Service. I do not want the service to be started if a reboot is needed. I have set the condition on the StartServices custom action to
(ReplacedInUseFiles="") And VersionNT

But this is not working. Has anybody used ReplacedInUseFiles in a custom action condition successfully? How do you do it?

Thanks
Simon

PhilWilson

PhilWilson
  • Members
  • 10 posts

Posted 12 July 2002 - 22:40

I'm not sure about that testfor a blank. I think a test of:

(Not ReplacedInuseFiles) and VersionNT

might work better.

suvidha

suvidha
  • Members
  • 72 posts

Posted 31 July 2002 - 20:44

i am facing similar situation...pl help


thanks in advance
suvidha

Irina

Irina
  • Members
  • 227 posts

Posted 01 August 2002 - 15:58

Hi,
Windows Installer set the ReplacedInUseFiles property as "1" if a reboot is needed. So you can try a condition
ReplacedInUseFiles<>1 And VersionNT

Regards,
Irina Shirinsky
Software Engineer, Heroix Corporation
http://www.heroix.com