What paramaters to use in my install program.

Started by Randem, January 02, 2005, 11:11:57 AM

Previous topic - Next topic

Randem

Aloha Mike,
 
You ask in the InnoScript thread about a script you have not created in InnoScript. Your script was created with Inno Setup and it is not a full script. Try generating your script with InnoScript and you will have everything with the correct flags that you need. You can get InnoScript here https://randemsystems.com/innoscript//
 
Your current script is missing a lot and will not work to say the least.
 
To answer your questions:
 
1 - Yes.
2 - No.
3 - If your installation is a 32bit installation it will not install in the 64bit system folders unless you force it to.

njmh2011

I have written a VB6 program in a Windows7 invironment. I have compiled and distributed this program using the Inno Setup 5 very sucessfully. I am somewhat challanged when using this or any other script program, but I have this question. For the first time (that I know of) a person used my setup using Windows7 and they got this error Component 'COMDLG32.OCX' or one of its dependencies is not correctly registered: a file is missing or invalid when trying to RUN the exe program extracted. I have attached my compiled file that I use. In my GP Tracker program setup files folder I include the comdlg32.ocx file (I think I copied this from an earlier version of Windows XP) along with mostly jpeg files. I noticied that Windows7 only has comdlg32.ocx in the Windows\sysWOW64 directory where 32 bit systems have it in their Windows\system32 directory.
Some of my questions are:
1) does this file need to be included?  
   (I think it does)
2) Does a person with a 64 bit system have to copy it to their system32 folder first and then register it there? (least desired)
   OR:
(3) Is there a way to tell the compilier to ignore the 64 bit system and default using the 32 bit system, hopefully removing this problem all together? {pf32}
I know this isn't the compilers} problem, but I am hoping I can correct this problem within the compiler.
   Any response (in simple terms) would be greatly appreciated.
Mike
 
 
(Message edited by njmh2011 on January 15, 2011)

admin

jmc1712,
 
[Setup]
DefaultDirName={pf}Your Folder Name

jmc1712

Hi,
 
How how can I force my program and its files to be installed into the program files directory. {app} seems to make default directory to whatever directory install program is run from.
 
Thanks
 
John

admin

John,
 
InnoScript automatically fills in this information for you. However it should look like this:
 
Source: c:windowssystem32comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile

jmc1712

Hi,
 
I need to include COMDLG32.OCX in my install and was wondering what flags should I use. Using ver 4.2.7.
 
Thanks
 
John