Hi,

ยท                                 I am making an installer and I want to
register and Install Com+ application and set the Identity to the Local
System. I wrote the following code in my custom action for setting the
identity. but It didn't work(It puts "nt authority\system" in the user field
instead of select the Local system radio button). 

COMAdminCatalogObject app = (COMAdminCatalogObject)Apps.get_Item(appIndex);
app.set_Value("Identity", @"nt authority\system");
AdminCatalog.CreateServiceForApplication(app.Name.ToString(),
app.Name.ToString() + "service", SERVICE_AUTO_START, SERVICE_ERROR_NORMAL,
string.Empty, string.Empty, string.Empty, false);
Apps.SaveChanges();


Any Idea?

-- 
View this message in context: 
http://n2.nabble.com/COM-Application-Setup-Identity-Problem-tp705836p4666320.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to