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

querycancelautoplay


2 replies to this topic

mikemc

mikemc
  • Members
  • 2 posts

Posted 28 January 2002 - 16:37

Has any body an examaple of an installshield script with use of a querycancelautoplay function in it.
I am new to installshield and my project needs to insert another CD which has an autorun.inf file on it.
I have tried to disable using the registry but I need to reboot the machine before the effect takes place. I must keep reboots to a minimum.

Failing that are there any other ways to disable autorun.

I am using installshied pro 6.3

Many thanks

Mike McMahon


Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 29 January 2002 - 23:46

I tried tofind a way around this, hooking messages and doing all sorts of things - to no avail.

What finally worked was to create a separate executable that :
1. captured the auto play message (it is only sent to top level windows) and
2. prompted user for the CD-ROM desired.

The the 'auto play capture' program would exit and processing would resume with the regular InstallShield script.


mikemc

mikemc
  • Members
  • 2 posts

Posted 31 January 2002 - 10:27

Good idea,

I shall try it today.

Thanks

Mike McMahon