[wpkg-users] %ALLUSERSPROFILE% and 64bit

Stefan Pendl stefan.pendl.71 at gmail.com
Wed Sep 18 21:55:04 CEST 2013


Am 17.09.2013 16:37, schrieb Marco Gaiarin:
>
> I was used to create links on desktop using 'shortcut' program, like:
>
> 	<install architecture='x64' cmd='%WPKGROOT%\tools\shortcut /f:"%ALLUSERSPROFILE%\Desktop\LeggiXme - Installa Componenti.lnk" /a:c /t:"%ProgramFiles(x86)%\LeggiXme\2 - Installare_Componenti\InstallaComponenti.exe"' />
>
> this still work like a charm, but on removing, on 64bit, a command like:
>
> 	<remove cmd='%COMSPEC% /c del /f /q "%ALLUSERSPROFILE%\Desktop\LeggiXme - Installa Componenti.lnk"' />
>
> does not work, eg does not return any error (probably, caused by '/q /f')
> but link was not removed. On 32bit, still works.
>
> What's happened? Thanks.
>

What Windows version are you using?

With Windows 7 the paths have changed.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list