-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Neeraj_Bangalore
Message 2 in Discussion


Hi, 

 
You 
can find the information like Username, MachineName, UserDomainName etc in the 
System.Environment namespace. 
 
Do - 
Imports System.Environment 
 
and in 
the code
 
use 
Environment.UserName etc for your purposes. 
 
See if 
it works for you. 

Regards,
Neeraj 
Saluja
SCT Software Solutions, Bangalore

 

  -----Original Message-----
From: Anil G.R 
  [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 
  5:27 PM
To: BDOTNET
Subject: deployment 
  issue


  
    
      
      New Message on BDOTNET
    
      

  deployment issue


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: Anil G.R 
            
              

                Hi,
                I am creating a MSI using  Vs.net , The requirements 
                for installation of the application are 
                If the Logged in User is an Administrator then the 
                application has to install for ALLUSERS,Else it has install for 
                the current user.
                For this application I have added a Registry  
                entry(One each under Hkey_local_machine and 
                Hkey_current_user)  which has to be written into the  
                target machine,
So now my problem is I have to write a 
                condition so that based on the privilages of the logged in user 
                the registry entry has to be written either under 
                Hkey_local_machine for a Administrator and Hkey_current_user for 
                a restricted user 
                Please do help on this 
                Regards
Anil 
    G.R
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to