Some of you suggest me to use Inno setup to build up the setup.exe
But now I am not sure where the problems are. So here is the code and hope anyone who can help me![]()
AI Clock is my exe in debug.Code:; -- Example1.iss -- ; Demonstrates copying 3 files and creating an icon. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES! [Setup] AppName=AI Clock AppVerName=AI Clock version 1.0c DefaultDirName={pf}\NewPaT.NeT DefaultGroupName=NewPaT.NeT UninstallDisplayIcon={app}\AI Clock.exe Compression=zip SolidCompression=yes OutputDir=userdocs:Inno Setup Examples Output [Files] Source: "AIClock.exe"; DestDir: "{C:\Documents and Settings\NewPaT\My Documents\Visual Studio 2005\Projects\AIClockC\AIClock\bin\Debug\}" Source: "MyProg.chm"; DestDir: "{app}" Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme [Icons] Name: "{group}\NewPaT.NeT"; Filename: "{app}\AI Clock.exe"




Reply With Quote