INNO for Dummies

Started by jimyab, January 09, 2005, 10:19:21 AM

Previous topic - Next topic

admin

jimjab,
 
Glad that you are making headway now. Assumptions can be bad for the one who installs your app. You should test on each OS. It would be more common for the newer files to work on older systems and not the reverse.

jimyab

I began this project on my old PC with WNT 4 SP6 and moved everything to this one with XP home edition.  With that in mind I must assume those files will work on those two OS and will change the script to make WNT 4 SP 6 the minimum OS.  
Obviously, I asked the wrong questions to begin this discussion.  Now that you have explained things to me, the program is simple to use.
Thank you for the help.

admin

jimyab,
 
Here is a beta of the next version with the fix to the PDW option if you would like to try it.
 

admin

jimyab,
 
You can also click on the UnSafe Files buttom and rerun the script. That option will allow you to use files from the System folders, however when you attempt to use Inno Setup it may complain about some files and you will have to revert back to what I stated in the last post.

admin

jimyab,
 
Those are files that you will need to double check from your OS to see if they can be used on other systems. If you are sure you can use them, copy these files to a folder on your computer of where you will store files that you can redistribute with no problem. This folder you will then add to your search area so that InnoScript can find them and Inno Setup can use them.

jimyab

It worked this try.  Took about 10 seconds.  I came up with 4 unsafe (red) files:
comdlg32.ocx
mscomct2.ocx
mscomctl.ocx
msflxgrd.ocx
How do I handle them?  I see they are shared files.  I have the common dialog and flex grid controls in my program.  I don't know what the second and third files do.  Should I run the Automatic OS Updater to correct these unsafe files?

admin

jimyab,
 
Now I can see where you are having problems. Do not use the PDW option, it got broken in an update. Use the VBP option, you will have better results.
 
All other things look fine. We have fixed the PDW function but have not released it yet. I will be glad to let you know when it is released (hopefully in the next few days).
 
Let me know if you need any more assistance.

jimyab

I have the following:
DefaultDirName  Livery
DefaultGroupName  Livery
AppCopyright 2005 J. S. Yablonsky
OutputBaseFilename  Livery
PrivilegesRequired  Admin
Desktopicon
AutomaticOSUpdater
Check for Unsafe Files
Exit
Next screen:
VB Runtimes Files Folder C:...VB6 Redist Files
P&DW Setup.lst E:...SETUP.LST
Inno Setup Script Output File (.iss)  E:...IS01092005.iss
VB Project Folder  E:...Livery
Windows 98
Windows NT 4.0
VB 6
NT SP 6
Then I clicked on OK.  The mouse pointer became an hourglass.  I waited an hour and a half before clicking on Cancel.  Nothing was happening on the PC.  That is why I am asking for help.  What did I do wrong?  Did I miss something somewhere?

admin

jimjab,
 
If you need info on what WizardImageFile and other Inno Setup parameters do, you should contact the makers of Inno Setup or check their help section. All the information is readily available in their program. We just allow usage of those features in our product.
 
Any file that you want to include in InnoScript, Use the Add Files button to select and include them. InnoScript will scan your vbp file and get all neccesary files anyway so, you do not really need the PDW files list. You can however use it for reference.
 
From Inno Setup Help:
 
[Setup]: WizardImageFile
 
Default value:   compiler:WIZMODERNIMAGE.BMP  
 
Description:  
Specifies the name of the bitmap file to display on the left side of the wizard in the Setup program. This file must be located in your installation's source directory when running the Setup Compiler, unless a fully qualified pathname is specified or the pathname is prefixed by compiler:, in which case it looks for the file in the Compiler directory.  
256-color bitmaps may not display correctly in 256-color mode, since it does not handle palettes. The maximum size of the bitmap is 164x314 pixels. Note that if Windows is running with Large Fonts, the area on the wizard for the bitmap will be larger.  
 
Example:   WizardImageFile=myimage.bmp
 
 
[Setup]: DefaultDirName
 
Description:  
This value of this required directive is used for the default directory name, which is used in the Select Destination Location page of the wizard. Normally it is prefixed by a directory constant.  
If UsePreviousAppDir is yes (the default) and Setup finds a previous version of the same application is already installed, it will substitute the default directory name with the directory selected previously.  
 
Example:
If you used:  
DefaultDirName={sd}\MYPROG  
In Setup, this would typically display:  
C:\MYPROG  
If you used:  
DefaultDirName={pf}\My Program  
In Setup, this would typically display:  
C:\Program Files\My Program
 
 
 
Step-by-Step Instructions:
 
1) Create a new InnoScript Project.
2) Select the vbp file and the each file or folder that is asked for on the main screen.
3) Press OK to create the Inno Setup Script.
4) Run Inno Setup to compile your setup package
5) Distribute and install your application
 
Thousands use our product as well as the product of jrsoftware and the process cannot be much simplier.

jimyab

I have 4.0.1 of INNO Script, 5.0.6 of INNO Setup and VB6 SP6.  Under Helpful Hints of the InnoScript 4.0.1 Instructions, it states the following Inno Setup parameters can be used (but what do they do? what are they?).  What is WizardImageFile?  What is DefaultDirName? Is that the directory that has my program to be packaged or is it the name of the directory on the users PC?  I tried reading questions in the newsgroup, but the standard answer is see Help, which in my opinion is not an answer.  I need  a step-by-step example, in detail and in writing, and believe others need it also.  I have a list of my P&DW files and additional files, but do not know how to include them.  I need Inno Script/Setup for Dummies.  Thanks

admin

jimyab,
 
All information about InnoScript is explained in the manual. The screen is pretty much self explainatory. What exactly are you having a problem with? What version are you using?
 
InfoBeforeFile and other such terms are from Inno Setup and you can find those definitions in the Inno Setup Help section.
 
Inno Setup is produced by jrsofreware and can be found at http://www.jrsoftware.org

jimyab

I am having difficulty in understanding various terms which are not explained in the Help.  So far, Help has been of little use to me.  I have many questions regarding the sequence of buttons to use, what they do and what is meant by terms such as InfoBeforeFile, WizardImageFile, DefaultDirName, etc.  The Help file totally ignores these things.  I am not sure whether to use UNC, Normal Script, Template Script, PDW, VBP, etc.  What are Run Time files?  I know that once I understand how the program functions, the Help file will have meaning to me.  I used the P&DW program to get a list of files.  Are they the Run Time files?  I need step-by-step instructions.