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 to launch an App and NOT WAIT


4 replies to this topic

Cygnusx1

Cygnusx1
  • Members
  • 29 posts

Posted 25 October 2001 - 15:27

On uninstallation: I am trying to launch a control panel and then exit the uninstallation.  Whenever the uninstall reached the abort; line in the InstallScript I get a fatal error. and everything closes (even the control panel). Is it possible to launch an app in a seperate process?

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 25 October 2001 - 16:00

CA 50 + 192

Run program from property,  ASync, Dont wait for installer to terminate


Cygnusx1

Cygnusx1
  • Members
  • 29 posts

Posted 25 October 2001 - 17:41

That works.  But, I need to abort the installation (in this case - uninstallation) after opening the control panel.  Still get "Fatal Error"

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 26 October 2001 - 09:07

Make a custom action to cause exit.
Use MsiSetInternalUI to turn off UI and return ERROR_INSTALL_USEREXIT to terminate the installation.

Cygnusx1

Cygnusx1
  • Members
  • 29 posts

Posted 26 October 2001 - 18:10

According to Microsoft, MsiSetInternalUI should never be called from a custom action.
http://msdn.microsof...rary....dwz.asp
??
What is the scripting?
MsiSetInternalUI (INSTALLUILEVEL_NONE,NULL);
returnERROR_INSTALL_USEREXIT;