|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ClickOnce Deploying to LocalSystem user accountDear all,
I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API ShellExecute("MyApp.appref-ms")),but not like under regular user account, some time,it acts as if the application is still not installed,it prompts to install first,especially after the Windows reboots. As we know, we need a service run in unattached situation.I don't know why the ClickOnce deploying application can't keep it's installation information under the SYSTEM account(LocalSystem),like other regular user account? Any help will be very appreciated. Maybe the real question should be,well,according to what information
for a ClickOnce deployed application to determine if it has already installed. I have checked Add/Remove Programs as SYSTEM user account(use ShellExecute("rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl")),and find the application is already installed while it sill prompts me to install again and again. I think there may be much thing for it to determine the installing state. Well,where is it? Thanks all. |
|||||||||||||||||||||||