Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSI Installer w/ Registry Entries...

Status
Not open for further replies.

mlager

Programmer
Sep 1, 2006
74
US
Hi,

I've got a simple MSI installer for my VB.Net WinForms application and I have it set to insert a single registry key into the computer's HKEY_LOCAL_MACHINE node. This usually works, but if the user doesn't have access, the MSI spits out an error. Is there any way in the MSI installer to quietly error out in this case? The existence of the registry key is not absolutely critical to the application. If not, I may have to change the creation of this key to within the application itself. Thanks for any advice!
 
You need to put some error handling code in your installer:




I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top