C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




write event log registry key throught wix installer


Posted Date: 02 Sep 2008      Total Responses: 1

Posted By: Nandhini Raman       Member Level: Bronze     Points: 1


while executing my application in windows 2003 im getting error as 'Requested Registry access denied' but im not getting any error in windows xp.
then i found where error occured.
thn i manually created a registry key value 'Authorization' under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application
then it works fine. how to create this registry key through wix installer. have created this registry key through

vsSourceName="Authorization"
myEventLogInstaller = new EventLogInstaller();
myEventLogInstaller.Source = vsSourceName;
myEventLogInstaller.Log = "Application";
Installers.Add(myEventLogInstaller);


since this registry key is created in windows xp automatically but not in windows 2003


thanks in advance




Responses

Author: avtar    04 Sep 2008Member Level: GoldRating:     Points: 2
You can add, modify, or delete registry subkeys and values by using a registration entries (.reg) file

To achieve that ( adding reg values) chkout this url

http://support.microsoft.com/kb/310516


Post Reply
You must Sign In to post a response.
Next : XML
Previous : HTML Forms with XML output
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

online optimum rewards

Contact Us    Privacy Policy    Terms Of Use