Kiquenet
Kiquenet

Reputation: 14996

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 application 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 ??

Upvotes: 1

Views: 2098

Answers (2)

Thomas Weller
Thomas Weller

Reputation: 59289

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.

Upvotes: 1

garik
garik

Reputation: 5756

Use XCOPY Deployment for more details.

Upvotes: 2

Related Questions