Thank you for your help.
I solved the problem of file permission following yours advices, i inserted
the line in the <file...> tag:
<util:PermissionEx User="Everyone" GenericAll="yes"/>
For the other problem of "Open file location" button disabled. I don't solve
it.
Changing the advertised attribute to "no" rise errors at compilation time:
error LGHT0204: ICE43: Component MainExecutable has non-advertised
shortcuts. It should use a registry key under HKCU as its KeyPath, not a
file.
error LGHT0204: ICE57: Component 'MainExecutable' has both per-user and
per-machine data with a per-machine KeyPath.
As i don't really understand the "KeyPath" concept (i need to learn a little
more), i am blocked at this point .
My source for Component MainExecutable is the following:
<Component Id='MainExecutable'
Guid='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' >
<File Id='PSControllerEXE' Name='PSController.exe' DiskId='1'
Source='..\..\PSController\Release\PSController.exe' KeyPath='yes'>
<Shortcut Id="ApplicationStartMenuShortcut"
Icon="PSController.exe" IconIndex="0"
Directory="ApplicationMenuFolder"
Name="Power Supply"
Description="Power Supply"
WorkingDirectory="INSTALLFOLDER" Advertise="yes" />
<Shortcut Id="ApplicationDsktShortcut"
Icon="PSController.exe" IconIndex="0"
Directory="DesktopFolder"
Name="Power Supply"
Description="Power Supply"
WorkingDirectory="INSTALLFOLDER" Advertise="yes" />
</File>
</Component>
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installation-target-is-ReadOnly-tp7584002p7584025.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users