|
-
Mar 6th, 2008, 06:05 AM
#1
Thread Starter
Lively Member
[RESOLVED] OCA problem [Inno setup]
Hi
I am using Inno setup 5.1.12. with this setup i can't able to register MSCOMCTL.OCX or copy the same in system folder. Is there any other possiblities to register that ocx but not by manual. If any one suggest other than inno setup is also welcome.
Last edited by ashokkumard; Mar 7th, 2008 at 04:54 AM.
Thanks
Ashok
Nothing is permanent except changes!..
-
Mar 6th, 2008, 04:16 PM
#2
Re: OCX problem [Inno setup]
You have a great installer. Why can't you register it?
-
Mar 6th, 2008, 04:34 PM
#3
Re: OCX problem [Inno setup]
This always works for me:
Source: e:\server data\randem\develop\deployable system files\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
-
Mar 7th, 2008, 02:34 AM
#4
Thread Starter
Lively Member
Re: OCX problem [Inno setup]
I have tried but not the excat what you have mentioned. It said that the you can't register the OCX while the system is using the same(not the excat message thrown by the system). Let me try your code and get back to you. Thank you for providing the script.
Thanks
Ashok
Nothing is permanent except changes!..
-
Mar 7th, 2008, 03:37 AM
#5
Re: OCX problem [Inno setup]
 Originally Posted by ashokkumard
It said that the you can't register the OCX while the system is using the same
The line I provided will handle that situation.
-
Mar 7th, 2008, 04:24 AM
#6
Thread Starter
Lively Member
Re: OCA problem [Inno setup]
Hi Randem
I have mistakenly posted the file is OCX, Sorry for the inconvinence its MSCOMCTL.OCA and COMCTL32.DEP. I want to trasfer these two files into system folder while installation, but can't able via inno setup. Is there anyother way to rectify this..?
Last edited by ashokkumard; Mar 7th, 2008 at 04:27 AM.
Thanks
Ashok
Nothing is permanent except changes!..
-
Mar 7th, 2008, 04:54 AM
#7
Re: OCX problem [Inno setup]
I don't see why you can't do it. Post your script.
-
Mar 7th, 2008, 05:12 AM
#8
Thread Starter
Lively Member
Re: OCA problem [Inno setup]
Hi Randem
I try to register the OCA and DEP files thats why i got the error message, now i just copy those files into system folder and working fine now. To register that OCX given script is very helpful. Now my setup is working fine. Thanks for your immediate relpy.
anyhow i want to give my script. Please find the code part
Code:
Below script is the file section
[Files]
#include "E:\INSTALLATIONS\INNOSETUPS\ICS\DLLS\Components.txt"
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\EXE\ICS.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\TEXTFILES\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SYSTEM\srvr.icx"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\MSCOMCTL.oca"; DestDir: "{sys}"; Flags: onlyifdoesntexist
In component.txt i have the below script
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\asycfilt.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\COMCAT.DLL"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\comctl32.ocx"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\COMDLG32.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\FM20.DLL"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\msado21.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\MSCOMCTL.OCA"; DestDir: "{sys}"; Flags: ignoreversion
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\COMCTL32.DEP"; DestDir: "{sys}"; Flags: ignoreversion
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\MSCOMCTL.OCX"; DestDir: "{sys}"; Flags: regserver restartreplace sharedfile
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\MSVBVM60.DLL"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\oleaut32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\olepro32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\RICHTX32.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\scrrun.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "E:\INSTALLATIONS\INNOSETUPS\ICS\SUPPORTINGFILES\vbscript.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Thanks
Ashok
Nothing is permanent except changes!..
-
Mar 7th, 2008, 11:37 AM
#9
Re: [RESOLVED] OCA problem [Inno setup]
Hi,
You don't need to deploy .DEP files, they serve no purpose and you don't register OCA files. You should not deploy the scrrun.dll file, there are documents to read about that sort of thing. Don't use the "uninsneveruninstall " willy-nilly...
and there is not code section so I guess I will have to find it...
-
Mar 7th, 2008, 09:16 PM
#10
Thread Starter
Lively Member
Re: [RESOLVED] OCA problem [Inno setup]
Hi,
I am not familiar with the script, just came to know from my colleague. with the use of help provided only i did that script and all. I am using this deployment for VBA projects. Sometimes the attached dot file with the word document does not work because of missing sys files, for that only I decided to move dep file too. I am using FilesystemObject in my project, in client system sometimes scrrun.dll may miss to avoid the missing reference i use to transfer this dll also.
Thanks
Ashok
Nothing is permanent except changes!..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|