Setup Reboot - how to suppress???

G

Guest

When I run my setup of a vb.net app made in VS2005 and setup made with the
setup wizard and then modified in the ide, The .net 2 setup runs and installs
and then asks to reboot. If you answer ok then the reboot happens and when
the system comes back it says it cant find the setup1.msi file (my setup) and
so wont continue and install my app.

So how do I make it find setup1.msi and continue the setup after reboot (to
setup my app) or even better, I want to suppress rebooting, install my app,
and then reboot.

I see there is a command line option to suppress reboot:

msiexec /i myapp.msi REBOOT=ReallySuppress

but beats me how to crack in and use it from the vs2005 ide for my setup
project.

Can someone give me an example?

Thanks,

Tom

PS I suppose its a common question but I can find it on the web or in the
docs.
 
G

Guest

Thanks, that is close. But I dont see where those dialogs are in the article.
See thats the problem, I cant find where you put the switch. I searched for
the dialogs shown in the article and they are not in vs2005???

Now I see there is a /norestart also that might be more what I need. But I
dont see anywhere to put it. Is there a dialog in vs2005 setup things?

Or, why does it not find the setup1.msi after reboot? Do I need to put an
address in the registry of where to look?

Can someone point me to the instructions?

It looks to me like anyone making an install app for vs2005 will have this
problem.

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top