Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio Installer?? 1

Status
Not open for further replies.

badrion

Programmer
Jul 16, 2001
34
US
Anyone use this? Is there a way to set up to autorun?
 
You could add a registry entry into the installation into the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

This would make your application run always on startup.

Alternatively you could make your application run as a service (on NT or 2000), this would have the added security benefits that services can provide.

Madlarry
 
When I burn the CD, for our user to install, I want to have it autorun. The Autorun.inf file doesn't recognize the extension .msi that VSInstaller saves it as. Does anyone know of a way to make an Autorun file recognize that????
 
Try changing the files extension to exe. It may seem wierd but lots of files can be recoginzied as other files (.scr to exe for example.) it may or maynot work
 
Tried that already, it will open a dos screen for about 5 seconds then closes and does nothing. It's like it doesn't recognize it.
 
Hi badrion,

If you still have this problem, see my reply in thread222-102369 and change the project properties so that Setup.exe is included in the Output, then change your Autorun.inf to reference the setup.exe file instead of the .msi file. It might work....

Madlarry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top