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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.net Deployment (Autorun)

Status
Not open for further replies.

allanmc10

Programmer
Feb 23, 2006
39
GB
Have just completed an application and would like to dweploy the software on CD with autorun

i have tried using batch files getting somewhere but not fast

Can anyone point me in the right direction

i need to install

windows installer 3.1
.net framework 2.0
my application
SqlServer2000 with databse for application

any help would be much appreciated

Regards

Big Al everybodies pal
 
VS 2005 hope u czan help tipgiver as running out of ideas fast

cheers

al
 
- Goto the solution explorer.
- Right click the startup project and select 'Properties' (the last).
- Goto the 'Publish' tabpage and click on the 'Prerequisites' button.
- Make sure that the 'Create setup program to install prerequisite components' is checked.
- Check in the checklistbox all the above you said.
- Select the option 'Download prerequisites from the same location as my application'.

You are almost done. Click noe the 'Publish wizard...' button and follow the steps.


Hope this helps!
 
Thanks TipGiver excellent info

Was also wondering when sql server installed is their anyway i can add a database to finish of the set up within the set up

regards

al
 
I have forgotten to say that you can click on 'Options...' button and check the 'For CD installation, automatically start setup when CD is inserted'. This is the autorun.inf file.

To incluse a file:
- Add your file in the solution explorer.
- Change the build action from 'none' to 'content'.
- Click on 'Application Files...' (on Publish tabpage). You should be seeing it in the list marked as 'Included
(auto)'. You may change it to 'Data file'.


Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top