Create installer for bho that consumes a web service?

Add-in Express™ Support Service
That's what is more important than anything else

Create installer for bho that consumes a web service?
 
Perry Kivolowitz




Posts: 10
Joined: 2010-11-09
My browser helper object consumes a web service. I would like to create an installer for the bho, how do I add the web service information to the installer project?


thanks
Posted 24 Dec, 2010 16:02:34 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Perry.

Did you try to add additional dialogs in the User Interface editor of the setup project?
Posted 28 Dec, 2010 07:01:40 Top
Perry Kivolowitz




Posts: 10
Joined: 2010-11-09
I'm sorry Sergey, I am not following you. The BHO uses no dialogs, nor does the web service.

p
Posted 28 Dec, 2010 10:09:29 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Perry.

I meant the dialogs of the setup project.

how do I add the web service information to the installer project?

Could you please clarify the question?
Posted 29 Dec, 2010 06:23:38 Top
Perry Kivolowitz




Posts: 10
Joined: 2010-11-09
I am still not following and need some step by step instructions (which would make a nice addition to the documentation).

I have a BHO. It consumes the web service at:

http://imagefx.org/Service.asmx

I want to make an installer for this BHO. I did not once (and cannot repeat what I did) and Internet Explorer threw an exception that the service definition files could not be found.

The BHO project contains a folder called Service References. This folder contains a lot of files.

Starting with the solution selected, I right click and Add New Project and navigate to Visual Studio Installer. I sel ect Setup Wizard. I click OK. I click Next. I leave the first choice "Create a Setup for a Windows application." set. I click next. I click "Primary Output fr om XXX". I click next. I have no idea what to add here "Which additional files". I click next. I click finish. I immediately get a warning that c:\windows\syswow64\ieframe.dll has dependencies that cannot be determined. I hit OK. The project is created.

I right click the set up project and select build. A program crashes - "Microsoft Visual Studio registry capture utility has stopped working." The build proceses:

'ieframe.dll' should be excluded because its source file 'C:\Windows\SysWOW64\ieframe.dll' is under Windows System File Protection.

I exclude ieframe.dll. I rebuild. The registry capture utility crashes again. The build completes. I install, and no add-in is added to IE.

Help? I am under a deadline to show this prototype and I have limited programming time available due to pain of a herniated disk.
Posted 29 Dec, 2010 11:02:08 Top
Andrei Smolin


Add-in Express team


Posts: 14374
Joined: 2006-05-11
Hi Perry,

You need to add custom forms to the setup project. Please check User Interface Management in Deployment and Visual Studio Setup project FAQ. Most probably, you'll need to create a custom action DLL processing the web service info. Say, you'll need to do something if that info is not entered or typed in incorrectly. See also Walkthrough: Creating a Custom Action.

Hope this helps.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Dec, 2010 11:48:57 Top