During the course of installation the script opens a file name 'Autobuild.bat' and adds lines. These lines are the path to a second batch file and the path to delete the shortcut to autobuild. On reboot there is a shortcut in the common list to run "<TARGETDIR>/Autobuild.bat" (the quotes are included in the shortcut but have also tried it without them). This shortcut is called, unfortunately it runs two copies of the autobuild. The first is Autobuild.bat and the second Autobu~1.bat. This only happens on Win98 machines! Is there a way to run this only once?
Thanks
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.
Batch files runs twice on reboot
Started by
Xitch13
, Jul 23 2002 15:17
1 reply to this topic
Posted 23 July 2002 - 15:17
There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)
Posted 23 July 2002 - 16:19
This is not an answer, just an update.
I created a small installer to just install 2 batch files and a shortcut. The shortcut runs one batch file which calls the second batch.
On reboot the first batch file is run twice and both DOS windows stick around.
I created a small installer to just install 2 batch files and a shortcut. The shortcut runs one batch file which calls the second batch.
On reboot the first batch file is run twice and both DOS windows stick around.
There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)