[wpkg-users] %ALLUSERSPROFILE% and 64bit

Marco Gaiarin gaio at sv.lnf.it
Tue Sep 17 16:37:33 CEST 2013


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.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list