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

installer 1

Status
Not open for further replies.
Apr 22, 2003
14
US
I am trying to transfer an application I designed in vb6 to a cd. It is connectinng to an Access db. It has some reports in it and i need to install some dll file to the host system in order for the cd to work. I understand(I guess) that I need to use an installer program. Can anybody explain how an install program works, where to get one free, and any suggestion on a particuler installer?
 
You can use the Package and Deployment Wizard that comes with Visual Studio and just follow the Wizard. It can be found under the Start menu -> Program Files -> Visuals Studio Tools.
 
use the package & deployment wizard to package your application for distribution.

if u want your cd to automatically start running the install program when it is inserted, then use an autorun.inf file like this:

Autorun.inf
[autorun]
open = setup.exe
icon = myicon.ico
shell\readme = &ReadMe!
shell\readme\command = notepad \Support\Readme.txt

create your package for deployment as above
give it it's destination directory as
c:\your\application\path\Setup
put your autorun.inf file in the root directory of the CD
put your Setup directory contents in the root of the CD
burn it.

if you do NOT want the CD to automatically start installing
but to show some sort of menu system first, which has an option
to start the install, then use some program like MultiMediaBuilder to make your CD menu, and
edit the autorun.inf file to point to THAT instead
and inside the menu u created, add a method to start the install by running the setup.exe file created with the
package & deployment wizard.


 
I know this is probably straight forward but after running setup.exe as shown above how can I run the application installed by setup.exe.

I have tried

[autorun]
open=setup.exe
icon=myicon.ico
shellexecute=myapp.exe


Once installed i can run myapp.exe from the start, run and myapp.exe.

Thanks in advance
 
Change the Setup1.Vbp if your VB Wizards - PDWizard - Setup1 directory to execute the program after a successful installation, and recompile it into the VB Wizards - PDWizard directory (or copy it from the Setup1 folder to the PDWizard folder after compiling)
 
LostInCode

Thanks for the post. I'm looking into now.

Cobas
 
Shell\Readme = &Readme.txt!
Shell\Readme\Command = Notepad\Support\Readme.txt


If my readme was named 'Weird.txt' can you clarify where 'Weird.txt' would go in the above lines, Im having trouble getting the readme to display, the rest works great... thankyou.
 
You may also find it interesting to know that the Package and Depl Wizard does not function too well on windows 2000.

Instead get a free copy of Visual Studio Installer from Microsoft's site

Just a thought

**********************************
May the Code Be With You...
----------
x50-8 (X Fifty Eigt)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top