TK1974
2010-10-06, 18:04
Hello!
I tried to use the following commandline to install Spybot v.1.6.2 on multiple computers to the Windows %PROGRAMFILES% directory, which is different on german Windows XP (C:\Programme) and Vista/Win7 32bit/64bit (C:\Program Files (x86) / C:\Program Files):
spybotsd162.exe /silent /noreboot /loadinf="spybot_default.inf"
Content of spybot_default.inf:
[Setup]
Lang=de
Dir="%PROGRAMFILES%\Spybot - Search & Destroy"
Group=Spybot - Search & Destroy
NoIcons=0
SetupType=custom
Components=main,language,skins,updatedl,sdshredder,sdfiles,SDWinSec
Tasks=desktopicon,launchsdhelper
The installer doesn't expand the environment variable and all I get is the actual folder %PROGRAMFILES%\Spybot - Search & Destroy in the current working directory. Also Links on the StartMenu, Uninstaller and the Desktop to Spybot don't work because Windows expands the variable.
I also tried
Dir="\%PROGRAMFILES\%\Spybot - Search & Destroy"
Dir='%PROGRAMFILES%\Spybot - Search & Destroy'
Dir=%PROGRAMFILES%\Spybot - Search & Destroy
with no success.
Any help would be appreciated. Thx!
I tried to use the following commandline to install Spybot v.1.6.2 on multiple computers to the Windows %PROGRAMFILES% directory, which is different on german Windows XP (C:\Programme) and Vista/Win7 32bit/64bit (C:\Program Files (x86) / C:\Program Files):
spybotsd162.exe /silent /noreboot /loadinf="spybot_default.inf"
Content of spybot_default.inf:
[Setup]
Lang=de
Dir="%PROGRAMFILES%\Spybot - Search & Destroy"
Group=Spybot - Search & Destroy
NoIcons=0
SetupType=custom
Components=main,language,skins,updatedl,sdshredder,sdfiles,SDWinSec
Tasks=desktopicon,launchsdhelper
The installer doesn't expand the environment variable and all I get is the actual folder %PROGRAMFILES%\Spybot - Search & Destroy in the current working directory. Also Links on the StartMenu, Uninstaller and the Desktop to Spybot don't work because Windows expands the variable.
I also tried
Dir="\%PROGRAMFILES\%\Spybot - Search & Destroy"
Dir='%PROGRAMFILES%\Spybot - Search & Destroy'
Dir=%PROGRAMFILES%\Spybot - Search & Destroy
with no success.
Any help would be appreciated. Thx!