hi experts....
i need ur help again...
i am creating a usercontrol that fetch images from webservice and show in a picture box.. (This is my Activex control as i say). and build it. now i have created a setup. named as viewercontrol. then i created a cab project and add viewercontrol in the project output.. and also add a inf file. also.
and buid the cab project.
my inf file
[Setup Hooks]
hook1=hook1
[hook1]
run=msiexec.exe /i %EXTRACT_DIR%\v iewercontrol.ms i
[version]
signature="$CHI CAGO$"
AdvancedINF=2.0
[Add.Code]
setup.exe=setup .exe
[setup.exe]
file-win32-x86=thiscab
clsid={58EC4F8B-2189-424d-B3F6-0100C1779877}
when i use this in html/aspx page .. by using <object tag>.
and deploy to server and browse it . it display a yellow bar on top saying to install activex. an d when i clicked it .. it show a messgebox with two button INSTALL AND NOT INSTALL with unknown publisher warnig. and when i clicked on install .. some procees took place for 4 -5 sec. and a red cross bar came inspite of control..
but if i manully run the installation by coping the cab file in the system ..it works fine..
now i am asking where i am wrong in this process. what sholfdi do.. is any thing wrong in my inf.. or pls tell me the write way to do this..
thanks in advance.. please help me out
i need ur help again...
i am creating a usercontrol that fetch images from webservice and show in a picture box.. (This is my Activex control as i say). and build it. now i have created a setup. named as viewercontrol. then i created a cab project and add viewercontrol in the project output.. and also add a inf file. also.
and buid the cab project.
my inf file
[Setup Hooks]
hook1=hook1
[hook1]
run=msiexec.exe /i %EXTRACT_DIR%\v iewercontrol.ms i
[version]
signature="$CHI CAGO$"
AdvancedINF=2.0
[Add.Code]
setup.exe=setup .exe
[setup.exe]
file-win32-x86=thiscab
clsid={58EC4F8B-2189-424d-B3F6-0100C1779877}
when i use this in html/aspx page .. by using <object tag>.
and deploy to server and browse it . it display a yellow bar on top saying to install activex. an d when i clicked it .. it show a messgebox with two button INSTALL AND NOT INSTALL with unknown publisher warnig. and when i clicked on install .. some procees took place for 4 -5 sec. and a red cross bar came inspite of control..
but if i manully run the installation by coping the cab file in the system ..it works fine..
now i am asking where i am wrong in this process. what sholfdi do.. is any thing wrong in my inf.. or pls tell me the write way to do this..
thanks in advance.. please help me out
Comment