Install Wizard

ThePentiumGuy

Well-known member
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
 
Youll have to read Microsofts site or the readmes 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. Its a textfile. At the bare minimum, have it show the file to run and, optionally, an icon. Heres a sample:
Code:
[autorun]
open=myexe.exe
icon=myexe.exe

I cant 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