c# - ActiveX Control Not Installing Automatically -


i have written simple activex control in c# , created .msi installer , packaged in .cab file. when runs .msi installer manually, installs activex control , works fine browser. when browser prompts automatic installation, not gets installed.

i using windows server 2008 64 bit , ie 11.

.inf  [version] signature="$chicago$" advancedinf=2.0  [add.code] axcontrolsinstaller.msi=axcontrolsinstaller.msi  [axcontrolsinstaller.msi] file-win32-x86=thiscab registerserver=yes clsid={1fc0d50a-4803-4f97-94fb-2f41717f558d} fileversion=1,0,0,0 

i have following following tutorial create control. works till step 16 prompts installation after every refresh , not gets installed.

http://www.slideshare.net/yudep_apoi/steps-how-to-create-active-x-using-visual-studio-2008

[ie setting change]

run activex , plug-ins – enabled

download signed activex control – enabled

script activex controls marked safe scripting – enabled

download unsigned activex control – prompt

initialize , script activex controls not mark safe – prompt

take @ this question , answer. should looking for.

i using msiexec install activex not directly through own runmsi.exe file. later made modifications approach. went msi installer exe (quiet installation) , referencing exe installer directly (the following snippet not tested should work)

[version] signature="$chicago$" advancedinf=2.0 [deployment] installscope=user|machine [setup hooks] install=install [install] run="""%extract_dir%\simpleactivex.exe""" 

you still have make cab , sign - activex, exe installer, cab file. use timestamp when signing shown in answer. list of free timestamp authorities can found here.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -