Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > add autorun to setup and deplay install
 

add autorun to setup and deplay install

Hi
Iam creatinga setup and deplay project with VS2008 and do not see an option to create a autorun.inf file. Is there one and is so where?
BarberColman  Tuesday, September 15, 2009 3:14 PM

Hi BarberColman,

Sorry for not making clear about the issue. The steps below shows how to have the autorun.inf file as the output of the setup project like .msi:

1. Add the autorun.inf file to the Application Folder in File System view.

2. Right click the added autorun.inf file and set its PackageAs property to vsdpaLoose.

Let me know if this does not help.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byBarberColman Friday, September 18, 2009 11:43 AM
  •  
Aland Li  Friday, September 18, 2009 3:49 AM
I don't think there is, but IIRC they're not complicated. If you can find an example they're literally just 3 or 4 lines of text.
Phil Wilson
PhilWilson  Tuesday, September 15, 2009 8:06 PM
Hi BarberColman,

These are some articles:
HOW TO: Create an Autorun CD-ROM for Applications That You Create by Using Microsoft Visual Studio .NET:
http://support.microsoft.com/kb/818804
Creating AutoRun Media to deploy your application:
http://www.devcity.net/PrintArticle.aspx?ArticleID=322

Let me know if this does not help.
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Thursday, September 17, 2009 8:30 AM

Sorry I did not explain as well as I should. I can and did create the autorun.inf and placed it in the release directory where the VS creates install. When Icompile the install projectthe autorun.inf was erased. What I want to do is have the .inf, msi and .exe created in the release directory so everything I need for the cdis in one location.

Thanks

BarberColman  Thursday, September 17, 2009 11:52 AM

Hi BarberColman,

Sorry for not making clear about the issue. The steps below shows how to have the autorun.inf file as the output of the setup project like .msi:

1. Add the autorun.inf file to the Application Folder in File System view.

2. Right click the added autorun.inf file and set its PackageAs property to vsdpaLoose.

Let me know if this does not help.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byBarberColman Friday, September 18, 2009 11:43 AM
  •  
Aland Li  Friday, September 18, 2009 3:49 AM
Thanks
This is the first setup project I have done with VS and ther are a lot of things to learn.
BarberColman  Friday, September 18, 2009 11:44 AM

You can use google to search for other answers

Custom Search

More Threads

• Setupfile--auto reinstall...
• Deployment Error
• GenerateBootStrapper Missing features
• Bootstrapper using old version of SQL CE
• How to Add Assembly file?
• Is vendor required to meet certain guidelines before releasing a ClickOnce package?
• Vb 2005 application and Quickbooks SDK (QBFC) deployment
• Associate a (system wide) shortcut key to a desktop shortcut
• how to add more than one setup programs in a single setup file using c#
• DLL Control in IE Windows Form