Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reboot

1 view
Skip to first unread message

Carlos Pisquem

unread,
Jul 17, 2000, 3:00:00 AM7/17/00
to
Is it possible to create a shortcut file that is temporarly put in the
startup folder.
Cause in my setup I check for a version of PWS and if it's not installed I
launch a setup that installs it....I then abort my setup so PWS is
installed. The reason for this is because PWS requires a reboot. So I want
it to reboot and the user redoes the setup and then at the version check
file it continues with the installation.
My question is how do I set it up to have the setup start up again once the
machine reboots, I am launching a setup that is not part of Installeshield
so I do talk between the two setups.
That why I thought if the external program is launched I would create a file
in the startup of the machine so it will re run the setup.
Is that how they do Office installations....it reboots and then continues
the setup...
That must be the way?
Any ideas?

Carlos

fred

unread,
Jul 19, 2000, 3:00:00 AM7/19/00
to
There are 2 ways. Either you use the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
or you use the startup folder.

The issue with the first solution is that the setup will run out of the
shell explorer, meaning the setup wizard will run before the desktop
initialize itself: no icons, no task bar, empty background.
For the second solution, you could put your file in the startup, but the
file may not be able to delete itself as it is locked. Usually, what I do is
to put a link to a batch file, the first line in this .bat is to launch my
application, and the second one is to delete the link (you have to add
manually this line in the batch file from your setup script).

Does that work?
Fred

Carlos Pisquem <cpis...@conceptinteractiveinc.com> wrote in message
news:39731...@208.30.171.38...

0 new messages