[RESOLVED] inno setup not registering activex dll on vista
Hello guys,
inno setup is not registering activex dll on vista machine, the installer is working fine in windows xp.
After installing my app on vista, i run my app only to get "activex control can't create object error".
This error is probably because some of my ocx and dll are not registered
i tried to register the files manually using regsvr32, but no success.
Code:
[Files]
; begin VB system files
Source: "E:\Projects\vb\vb6sp6sys\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "E:\Projects\vb\vb6sp6sys\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\Projects\vb\vb6sp6sys\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\Projects\vb\vb6sp6sys\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\Projects\vb\vb6sp6sys\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile
Source: "E:\Projects\vb\vb6sp6sys\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "E:\Projects\vb\vb6sp6sys\msdbrptr.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
; end VB system files
; START MDAC
Source: "E:\Projects\vb\vb6sp6sys\MDAC_TYP2.7.exe"; DestDir: {%TEMP}; CopyMode: alwaysoverwrite; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Tasks: MDAC; Flags: deleteafterinstall
Source: "E:\Projects\vb\vb6sp6sys\MDAC_TYP2.7.exe"; DestDir: {tmp}; CopyMode: alwaysoverwrite; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,5.0; Tasks: MDAC; Flags: deleteafterinstall
; END MDAC
; START JET
Source: "h:\Projects\software\vb\vb6sp6sys\windowsxp-kb829558-x86-enu.exe"; DestDir: {tmp}; Flags: ignoreversion deleteafterinstall
; END JET
;
; Specific control you included in your project(s)
; always use the following parameters for an OCX:
; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
;
Source: "h:\Projects\software\vb\vb6sp6sys\MSBIND.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\WINDOWS\system32\Msdatrep.ocx"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "h:\Projects\software\vb\vb6sp6sys\Msstdfmt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\WINDOWS\system32\Msderun.dll"; DestDir: "{pf}\Common Files\Designers\"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "h:\Projects\software\vb\vb6sp6sys\Msdbrptr.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\WINDOWS\system32\MSCOMCT2.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\WINDOWS\system32\MSWINSCK.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\WINDOWS\system32\COMCTL32.OCX"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\WINDOWS\system32\MSCOMCT2.OCX"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\Program Files\Microsoft CAPICOM 2.1.0.2 SDK\Lib\X86\capicom.dll"; DestDir: "{sys}"; OnlyBelowVersion: 5,6; Flags: restartreplace sharedfile regserver
Source: "C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13\GdiPlus.dll"; DestDir: "{sys}"; Flags: restartreplace sharedfile
Source: "h:\Projects\software\vb\vb6\TManServerDemo.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "h:\Projects\software\vb\vb6\db\thumb.mdb"; DestDir: "{app}"; Attribs: hidden system; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "h:\Projects\software\vb\vb6\db\log.txt"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "h:\Projects\software\vb\vb6\help\help.chm"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "h:\Projects\software\vb\vb6\lib\ntlib.dll"; DestDir: "{app}"; Flags: ignoreversion regserver
Source: "h:\Projects\software\vb\vb6\images\*"; DestDir: "{app}\images\"; Flags: ignoreversion recursesubdirs createallsubdirs
any help?
Re: inno setup not registering activex dll on vista
Try adjusting the UAC level and installing inno setup again! Are you logged in as an administrator when you try to install inno set up, have you tried run as administrator?
Re: inno setup not registering activex dll on vista
I am ruining as admin in vista, and don't know why even when registering manually using command prompt, it still gives error
i solved the problem by using a poweruser command in inno-setup.