When creating shortcuts for our wix installer we've previously set the
Workingdirectory for the shortcut to be the root directory for the app
in C:/Program Files. Vista complains about users saving stuff there -
which happens when they do a save as and don't change the location, and
so - for the latest release - we want for all flavours of windows to
set it to c:/Documents And Settings\userName or c:\users\userName for
Vista

When attempting to do this I have put this in the wix file

<Shortcut Id="AppName" Directory="ProgDir" ShortName="APP_V_1"
          Name="App v1.5"
          Target="AppName" Description="Shortcut to OurApp"
          Icon="Apps.ico" WorkingDirectory="PERSONALFOLDER" />

when installing on XP this appears to work however, on vista, this
results in the default 'save as' directory being the system32
directory

Once installed on both XP and Vista the workingdirectory appears as
blank, is PERSONALFOLDER correct or do I need to tweak something else
for Vista?

Robert
-- 

Robert A J Marshall,  
TNEI Services Ltd, 88-90 London Road, Manchester, M1 2PW 
Registered in England & Wales No. 03891836,
Registered office:  Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE
tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 
web: http://IPSA-Power.com 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to