Hello,
I have made an application that uses activex controls. I have noticed, that in some computers the applciation doesn't work and I need to supply the .ocx file in the package and the user needs to manually install the control.
Is there a way of InnoScript doing this automatically while installing application?
Actually,
Generally InnoScript will place the proper flags on the item when the script is created if the ocx is referenced in your VBP file. You did not give any info on the script generated or items used.
You can add flags to the script's ocx line item such as:
Source: i:\develop\multi database connection\database connection dll\rsdbcontrol.ocx; DestDir: {sys}; MinVersion: 4.1,5.0sp6; Flags: regserver restartreplace sharedfile
This will register the file for you when Inno Setup runs your package. You can add the line via InnoScript's template function or through Inno Setup's script edit mode.