Richard Coffre
asked on
How to run Inno Setup script to register an OCX ?
Hi all,
I created a package to install an Access db. It works fine.
But when i run my application, i realize that an OCX seems not to be used (it is not display in the form) even if it is present in the correct directory.
I copoy this OCX file during the installation but it is not registered so i try to use Inno Setup to install and register the OCX.
I create the ISS script but i don't know how to use it !!!
Any ideas ?
Thanks in advance
I created a package to install an Access db. It works fine.
But when i run my application, i realize that an OCX seems not to be used (it is not display in the form) even if it is present in the correct directory.
I copoy this OCX file during the installation but it is not registered so i try to use Inno Setup to install and register the OCX.
I create the ISS script but i don't know how to use it !!!
Any ideas ?
Thanks in advance
ASKER
OK but how i run the ISS file.
In general to install something you click on SETUP.EXE and that's.
So what i have to do the launch, run the ISS file ?
I use the following instruction in the script :
Source: "mscomct2.ocx"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
In general to install something you click on SETUP.EXE and that's.
So what i have to do the launch, run the ISS file ?
I use the following instruction in the script :
Source: "mscomct2.ocx"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
>>So what i have to do the launch, run the ISS file ?
Basically Inno Setup is an installer packager to create the installer (Setup.exe, for example) itself, so what you need to do is open your .ISS file, then click on the "Run" button from toolbar. If you're using IS TOOL, try click "Compile Setup" from toolbar instead.
Basically Inno Setup is an installer packager to create the installer (Setup.exe, for example) itself, so what you need to do is open your .ISS file, then click on the "Run" button from toolbar. If you're using IS TOOL, try click "Compile Setup" from toolbar instead.
Take a look at Little Setup Builder http://www.ammasw.com/LSB_Intro.html. It is a lot easier to use than Inno Setup.
ASKER
How do you generate the setup.exe with Inno Setup ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
As mentioned, try click on the "Run" button from toolbar to compile the installer file. Good Luck.
[Files]
Source: yourOCX.OCX; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror