Ideally, configuration files shouldn't be installed. Install a default and
copy it to a user-writeable directory or just generate a default config in a
writable location on first run. If you're unable to fix the code for some
reason, you can change the file's permissions at install time using
util:permissionex. Non-admins are not allowed to write to Program Files and
writes will usually be silently redirected to a mirror copy somewhere in
c:\users\<username>. Even an admin needs to be elevated to write under
Program Files, which is why your installer has to elevate to install files
there.

Your shortcut element may have the advertised attribute set to "yes". If you
want a .lnk file type shortcut, set advertised to "no".

-----Original Message-----
From: lolonapoli [mailto:lolonap...@gmail.com] 
Sent: 27 February 2013 15:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installation target is ReadOnly?

Hello,
I just create my first installation package with wix :)

In this package there is an application (.exe), a desktop shortcut and a .ini
file for the configuration and some more that don't interest this thread.

I have 2 strange behaviors once installed:
1) Right clicking the shortcut-> properties. The "Open file location" button
is disabled.
2)The user needs to configure the program behavior editing the INI installed
in the Program files folder. but , after editing, the Save operation failed
with "access deny".
I am on windows7 32. I have installed my software as administrator and trying
to modify the INI file also as administrator.

Someone can help me to figure out what's wrong?
Thanks
L.








--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installation-ta
rget-is-ReadOnly-tp7584002.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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to