Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: admin on January 02, 2005, 11:11:57 AM

Title: What paramaters to use in my install program.
Post by: admin on January 02, 2005, 11:11:57 AM
jmc1712,
 
[Setup]
DefaultDirName={pf}Your Folder Name
Title: What paramaters to use in my install program.
Post by: jmc1712 on January 02, 2005, 07:39:59 AM
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
Title: What paramaters to use in my install program.
Post by: admin on December 27, 2004, 10:17:54 AM
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
Title: What paramaters to use in my install program.
Post by: jmc1712 on December 27, 2004, 06:55:34 AM
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
Title: What paramaters to use in my install program.
Post by: njmh2011 on January 15, 2011, 11:09:59 AM
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)
Title: What paramaters to use in my install program.
Post by: Randem on January 15, 2011, 09:30:57 PM
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// (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.