CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2007
    Posts
    21

    Exclamation Remote Install Software

    Hello All,
    C#.
    I want to install the software(MS office,Googletalk,Msn messenger or any software) remotely.Backups of these software are with my Local system.Now i want to install it on Another computer on lan from here....
    I also posted it on msdn i got some ansers bt nt still clear ....Hope to find goood here


    Regards,

    Aamir

  2. #2
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: Remote Install Software

    You want to make an application that will install these softwares remotely. Correct me if I'm wrong.
    You can do this .NET remoting by developing 2 apps: one for the server that will be the remote computer and one for you computer. Of course, you will need administrative rights on the remote computer.
    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  3. #3
    Join Date
    Jun 2007
    Posts
    21

    Re: Remote Install Software

    Thanks for quick reply...
    Actually i have only one Application which will run on Server...
    First i create a connection wid any client machine on LAN through ipAddress ,password,username
    Then after it i extract the list of installed software from there ....(Done)

    Problem:
    Now as i have the installed software list on my server Pc.And i wanna installed any missing software from server PC to Client ..


    Regards,
    Aamir

  4. #4
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: Remote Install Software

    One possible choice would be to transfer the setup files needed for a certain software and run the installer in background ( if the installer package supports command line ) with Process class. For example msiexec arguments: http://msdn2.microsoft.com/En-US/library/aa367988.aspx
    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  5. #5
    Join Date
    Jun 2007
    Posts
    21

    Re: Remote Install Software

    Bundle of thanks...
    Let me Do some Work on ur propose solution ......
    Will come 2 u soon if any query ...Hope u wud nt mind...

    Cheeeerssssssss

    Regards,
    Aamir Khurshid

  6. #6
    Join Date
    Jun 2007
    Posts
    21

    Re: Remote Install Software

    Hello ... I have created Connection Remotely but wen i m trying to install software i m getting Exception....

    Exception: RPC Server is Unavailable ..Check host name...

    if my code is like this

    ConnectionOptions connection = new ConnectionOptions();
    connection.Authority = "kerberos:" + domain + @"\" + machine;
    //connection.Authority = "NTLMdomain:" + domain;
    i m geeting Exception ..
    But wen i Cooments the line connection.Authority = "kerberos:" + domain + @"\" + machine;
    and uncoments line connection.Authority = "NTLMdomain:" + domain;
    Then its ok bt its nt meet the requirement ..

    And One other thing i dont have Kerbros Policy Folder Acount policies ....

    Is their any software i have to install for ...

    I m stuck ...No way out .....

    Awaiting for kind response ......


    Regards,
    Aamir

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured