This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Web service call on uninstallation using installshield 2011
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2012
11:47 PM
Web service call on uninstallation using installshield 2011
Hi there ,
Currently i m working on C# winform application, for creating package i m using installshield 2011. i wanted to call a web service at the time of uninstallation. how to achieve that can anyone help ?
I wanted to call a web service webmethod at the time of Uninstallation of my application.
thanking you in anticipation
Currently i m working on C# winform application, for creating package i m using installshield 2011. i wanted to call a web service at the time of uninstallation. how to achieve that can anyone help ?
I wanted to call a web service webmethod at the time of Uninstallation of my application.
thanking you in anticipation
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2012
12:57 PM
I just did a similar thing myself.
Wrote a custom DLL in C# that accepted the parameters I wanted to pass then setup a custom action (managed code) that called the dll method and passed in the parameters I needed.
Good luck.
Wrote a custom DLL in C# that accepted the parameters I wanted to pass then setup a custom action (managed code) that called the dll method and passed in the parameters I needed.
Good luck.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2012
07:16 PM
I assume that this web service invocation shouldn't block the uninstall, correct? I'd hate to not be able to uninstall software because a remote server wasn't accessible.
The easiest way to do this is probably to write a windowless windows exe ( not console app ) that calls the web service and swallows all errors. A more elegant solution would be a DTF custom action that could log to the installer log.
You should read the following to understand custom action context and scheduling:
http://www.installsite.org/pages/en/isnews/200108/index.htm
The easiest way to do this is probably to write a windowless windows exe ( not console app ) that calls the web service and swallows all errors. A more elegant solution would be a DTF custom action that could log to the installer log.
You should read the following to understand custom action context and scheduling:
http://www.installsite.org/pages/en/isnews/200108/index.htm