Click here to Skip to main content
15,889,890 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello all at Code Project,

I have been presented with a challenge. Essentially I need to create a way to push or install software from a file share to a remote system without using Remote Desktop or Remote Assistance applications in Windows 7. How can this be done in a VB Windows Form Application or is it even possible? I would not only need to browse to where the software is located in the form to make the path string, but i would need to be able to pass the installer parms to silently install for users while they use their machines.

Sincerely your,
ChrisV85
Posted

1 solution

You have a bunch of problems to solve.

1) Does every user have access to the software share? If so, you have a security problem as any user can just go and pickup the installer themselves.

2) You can launch a process on a remote machine using WMI and the Win32_Process class. Though, you need admin priv's on the remote machine and the process must run entirely without any user interaction (msiexec.exe with the /qn switch).

3) The installer can be launched, but if there is a problem you won't know anything went wrong unless you take precautions to check the return code from the remote process (msiexec.exe).

4) If you're not in a domain environment, you have the problem of using a different admin account on every workstation. This is a pain in the ass to deal with, so if this is the case, don't even attempt this.
 
Share this answer
 
Comments
[no name] 7-Jan-15 8:20am    
1) we do have a place for access to the software that is open to all users, however once the installer pushes we can remove it from that share.

2) we are in an domain environment and i am a system administrator in that environment, so security shouldn't be an issue.

Will that help narrow down what i will need to do in a VB form application to get this to work?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900