Install Wizard

ThePentiumGuy

Senior Contributor
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
How can i add a wizard that extracts the project files to a certain directory. The wizard must check if the user has the laterverson of DIrectX, if not, then install dX9.

When i burn the WIzard and all to a CD, i want an AutoStart thing to pop up when you insert the CD, saying, Play, Install, Uninstall, Help or something like that
 
You'll have to read Microsoft's site or the readme's that come with DirectX SDK on how to distribute DX9. As for making a CD autoplay, you need a file in the root directory of the cd named autorun.inf. It's a textfile. At the bare minimum, have it show the file to run and, optionally, an icon. Here's a sample:
Code:
[autorun]
open=myexe.exe
icon=myexe.exe

I can't remember if you can specify the EXE file for the icon or not - I think you can.

As for making a setup program in the first place, Visual Studio offers setup templates with a wizard for creating a setup project. You can point it to a project to get started (it will pickup most of the dependencies). You then build this setup project, which creates a setup.exe (bootstrap) and setup.msi and the associated cab files. You can learn more about setup projects in the VS help.

-Nerseus
 
Back
Top