ActiveX installation issue
I have a exe that extracts an msi that installs a plugin (Qlikview plugin for Analytix).
If I run the .exe everything works fine and dandy, no issues. When the limited user accesses the site some sort of one-time setup occurs (which we use Active Setup for..)
If I run the msi that is extracted to the temp dir (and ONLY the msi extracted, no other files) I am prompted to install an ActiveX Control when I go to the webpage. If I install the control everything works fine. However, when I log on as limited user it obviously does not work.
I looked at the msi to try and figure out A) Why the .exe works without prompting and not the .msi and B) How I could get the .msi to work.
I didn't see what I usually see such as an advertised shortcut, or registry entires in HKCU, but after looking around I noticed that it appeared that the installer was registering a COM object, which is something I do not have much experience with.
I tried installing the .msi then running regsvr32 QlikviewOCX.ocx, and it said it registered correctly, but it still popped up with an activex control install.
Next I captured the entire ActiveX install process and noticed the registry entires. I extracted the registry entries and merged them after I installed the .msi. It popped up with an error when it was merging the entries, but when I went to the page, the ActiveX install was not needed. However, when I tried this as a limited user, I was unable to get this to work. The error would pop up but the plugin would not work.
Is there something I'm missing? Is there an easy way to do this that I do not know about?
If I run the .exe everything works fine and dandy, no issues. When the limited user accesses the site some sort of one-time setup occurs (which we use Active Setup for..)
If I run the msi that is extracted to the temp dir (and ONLY the msi extracted, no other files) I am prompted to install an ActiveX Control when I go to the webpage. If I install the control everything works fine. However, when I log on as limited user it obviously does not work.
I looked at the msi to try and figure out A) Why the .exe works without prompting and not the .msi and B) How I could get the .msi to work.
I didn't see what I usually see such as an advertised shortcut, or registry entires in HKCU, but after looking around I noticed that it appeared that the installer was registering a COM object, which is something I do not have much experience with.
I tried installing the .msi then running regsvr32 QlikviewOCX.ocx, and it said it registered correctly, but it still popped up with an activex control install.
Next I captured the entire ActiveX install process and noticed the registry entires. I extracted the registry entries and merged them after I installed the .msi. It popped up with an error when it was merging the entries, but when I went to the page, the ActiveX install was not needed. However, when I tried this as a limited user, I was unable to get this to work. The error would pop up but the plugin would not work.
Is there something I'm missing? Is there an easy way to do this that I do not know about?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
package_aligator
14 years ago
Posted by:
anonymous_9363
14 years ago
It sounds to me like the EXE is installing stuff outside of the MSI. If it was me, I'd install the MSI and then run a capture whilst the EXE runs. I'm betting it will install and register at least one more ActiveX control.
BTW, avoid registering COM objects with RegSvr32 (or MSIExec /Y). If your authoring tool has the option, have it use the advertising tables. The former method means that any dependencies must be present or the registration will fail.
BTW, avoid registering COM objects with RegSvr32 (or MSIExec /Y). If your authoring tool has the option, have it use the advertising tables. The former method means that any dependencies must be present or the registration will fail.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.