|
-
Mar 14th, 2006, 01:17 AM
#7
Thread Starter
New Member
Re: Deployment using inno setup
Thanks so much for the contribution.I just got back to my work and will be trying this out now.Will notify you guys on my progress and will be looking forward to your continued support.
Many thanks
 Originally Posted by kleinma
first of all INNO is free.. and 99% customizable
writing your own installer is a silly idea unless you plan on writing it in a native windows language like C, and even then it is a HUGE painstaking process to actually write your own installer from scratch.
look into the INNO help file for the [Components] and [Types] sections... that is where you define different types of installs to be allowed, and in the files section you set a components attribute, and specify to install that file when the certain component was selected to be installed..
here is a sample, but i wrote it right here in IE, and not in INNO, so the syntax could be off a bit.. like I said read the help file and it will give you a lot of info.. that is how I figured it out when I first started using INNO.
Code:
[Files]
Source "C:\myfile.exe"; destDir: {app}; Components: cAlways cOptional
Source "C:\readme.txt"; destDir: {app}; Components: cAlways cOptional
Source "C:\database.mdb"; destDir: {app}; Components: cOptional
[Types]
Name: "mininstall"; Description: "Minimum Installation"; Flags: iscustom
Name: "fullinstall"; Description: "Full Installation"; Flags: iscustom
[Components]
Name: "cAlways"; Description: "Main Program Files"; Types: mininstall; flags: fixed
Name: "cOptional"; Description: "Additional Program Files"; Types: fullinstall; flags: fixed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|