ClickOnce Deploying to LocalSystem user account

  • Thread starter Thread starter dfererer
  • Start date Start date
D

dfererer

Dear 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top