Win2K/RIS/RunOnceEx: Apps not installing properly in Windows 2000/2003/NT4 Posted May 27, 2004 Well the syntax issue in the RunOnceEx-method is quite simple. Just change:REG ADD %KEY%\002 /V 1 /D "z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi "INSTALLDIR=E:\Program Files\Adobe\Acrobat Reader\ /qb" /fto:REG ADD %KEY%\002 /V 1 /D "z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi \"INSTALLDIR=E:\Program Files\Adobe\Acrobat Reader\" /qb" /fI.e. you have to use a back slash before quotation marks inside the "REG ADD" string. You should reach your goal by using the RunOnceEx-method, as it waits for the previous install before going to the next one. 0
Win2K/RIS/RunOnceEx: Apps not installing properly
in Windows 2000/2003/NT4
Posted
Well the syntax issue in the RunOnceEx-method is quite simple. Just change:
REG ADD %KEY%\002 /V 1 /D "z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi "INSTALLDIR=E:\Program Files\Adobe\Acrobat Reader\ /qb" /f
to:
REG ADD %KEY%\002 /V 1 /D "z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi \"INSTALLDIR=E:\Program Files\Adobe\Acrobat Reader\" /qb" /f
I.e. you have to use a back slash before quotation marks inside the "REG ADD" string. You should reach your goal by using the RunOnceEx-method, as it waits for the previous install before going to the next one.