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

How do I get Developer quit based on a condition.


2 replies to this topic

dantam1

dantam1
  • Members
  • 5 posts

Posted 20 March 2006 - 12:35

Firstly, good morning..

I have to make an Basic installer display a msgBox and then quit if no office products are found, I have setup system searches for any registry keys and use these in my installer at present.

I think I have to do a DoAction in the dialog box of the InstallWelcome dialog to check for nothing in the property that I have set. ie I have set EXCELXP to contain the location of office, based on a system search in registry.

Can someone shed some light on how to do this please.

Thanks

Dan

dantam1

dantam1
  • Members
  • 5 posts

Posted 20 March 2006 - 13:19

Sorry, just worked out I was trying to make this too complicated.

I've added WWEXCELXP="" to the Install Condition of the installer (which includes a message) and this works.

Dan

Edited by dantam1, 20 March 2006 - 13:24.


dantam1

dantam1
  • Members
  • 5 posts

Posted 22 March 2006 - 16:29

Unfortunately the system search properties have not been run therefore I cannot force the install to quit if no office exists.

I am trying to create a quit or end install in a VB custom action which will be run after system search.

Can someone please advise.

thanks

dan