Conditional install problem

  • Thread starter Thread starter Bill Ward
  • Start date Start date
B

Bill Ward

With DevStudio 2005 I have created an installer that installs the output of
multiple projects. I have added a check box page to the installer so that
the user can select whether or not to install a windows service (one of the
projects). The condition created by the check box allows me to correctly
install and uninstall the files used by the service (or not as the case may
be).
The problem arises with the custom actions I added to the installer to
register and unregister the service. These both worked before I added the
condition to the installer. Now, after adding the condition, the uninstall
process no longer unregisters the service. Removing the condition gets me
back to a working installer again (but obviously without the option to not
install the service). Any suggestions?

Thanks in advance

Bill
 
Hi Bill,
The problem arises with the custom actions I added to the
installer to register and unregister the service. These both
worked before I added the condition to the installer. Now,
after adding the condition, the uninstall process no longer
unregisters the service...

Would you please tell me how do you add your customer action(via script/exe
or using the Orca) to your VS2005 setup project, and what's the condition
to the custom action of that unregistering service operation?

And it may be better if you can provide a simple repro sample
project(zipped) to us for research, you can send it to me directly(please
remove the "online" of my email address).


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top