PDA

View Full Version : Install for Windows 10



NewsArchive
12-02-2015, 10:42 AM
Hi!

This install works trouble free until windows 8.1

Now I tried it under windows 10

Install works, and if you open the program from the installer,
everything is ok.

Trouble comes, when you use the desktop shortcut, which works pretty
strange.

I allways install the exe under program files.

The shortcut had no acces to that.

OK, then i tried to install NON UAC.

Runs as expected from the installer.

But cannot run as expected from the shortcut, because it has no access
to CSIDL_COMMON_APPDATA

What am I doing wrong?

Best regards

Edvard Korsbęk

NewsArchive
12-02-2015, 10:43 AM
Edvard,

> But cannot run as expected from the shortcut, because it has no access to
> CSIDL_COMMON_APPDATA
>
> What am I doing wrong?

Nothing changed in Windows 10. If an application requires normal users to
have write access to an application specific subdirectory of
CSIDL_COMMON_APPDATA, then the application must explicitly modify the
security on that sub-directory during application setup. NOT RECOMMENDED AT
ALL! It is for non-user specific data. Only elevated running applications
have write access to CSIDL_COMMON_APPDATA (all UAC-aware operating systems,
not only Win10). Your own application should not write to that folder.

When you launch your program from the (elevated running) installer then you
have to start it with the "Launch non-elevated from under UAC" option
enabled. Never start it elevated !!!

Your own program has to be "asInvoker" manifested. Do not create any
"Compatibility Mode" item for your application.

Friedrich