Install WinForms application without admin rights
I develop a Windows Forms application using VS 2008. Application will be deployed in Corporate Environment: a network (VPN, LAN) is in several cities, many PC clients Windows XP; and there is a only Server Win2003, with several WCF Services, Windows Service, shared folders, and Database that use the WinForms app. Network is WORKGROUP, not domain.
The users in PC Clients has NOT admin rights. Only can install applications the only admin.
It is required automatized&easy way to install "desattended" the WinForms applic开发者_StackOverflow社区ation for all users. I want get way to easy installations in PC Clients.
We don't want use ClickOnce. NOT use click once. Now, I have MSI (setup.exe) of WinForms App. If if required another program, source code, scripting, etc, any sample code ?? any suggestions for my architecture network ??
Use XCOPY Deployment for more details.
Use InnoSetup and install the application to %LOCALAPPDATA%\MyApp
, which is denoted as {localappdata}\MyApp
in an ISS file.
Make sure your application uses Registry keys in HKEY_CURRENT_USER only. You can set these up using Root: HKLM
Set PrivilegesRequired to lowest
.
精彩评论