IIRC Vista ships with .Net 3.0. It's possible you need the .Net 2.0 runtime if that's what the program uses.
On 10/20/08, Brian May <[EMAIL PROTECTED]> wrote: > Hello, > > I have noticed a problem with the CDBurnerXPPro rules on Vista: > > <package id='CDBurnerXP' name='CDBurnerXP' revision='1' priority='50' > reboot='false' > > <check type='uninstall' condition='exists' path='CDBurnerXP' /> > <install cmd='cmd /C copy /Y "%SOFTWARE%\CDBurnerXP\default.cfg" > "%TEMP%"' /> > <install cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_4.2.1.864.exe" > /VERYSILENT /LOADINF="%TEMP%\default.cfg"' /> > <install cmd='cmd /C del "%TEMP%\default.cfg"' /> > <remove cmd='"%ProgramFiles%\CDBurnerXP\unins000.exe" /SILENT' /> > <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\CDBurnerXP > v.4.0.015.277\default.cfg" "%TEMP%"' /> > <upgrade cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_4.2.1.864.exe" > /VERYSILENT /LOADINF="%TEMP%\default.cfg"' /> > <upgrade cmd='cmd /C del "%TEMP%\default.cfg"' /> > <depends package-id='dotnet20' /> > </package> > > > The problem is the dotnet20 dependency (required on Windows XP): > > <packages> > <package id="dotnet20" name="Microsoft .NET Framework 2.0"> > <check type="logical" condition="or"> > <check type="uninstall" condition="exists" path="Microsoft > .NET Framework 2.0" /> > <check type="uninstall" condition="exists" path="Microsoft > .NET Framework 2.0 Service Pack 1" /> > </check> > <install cmd='%SOFTWARE%\dotnet\dotnetfx.exe /q /c:"install /q"' > > <exit code="194" reboot="true" /> > <exit code="1603" /> > <exit code="3010" reboot="true" /> > </install> > </package> > </packages> > Thanks > > > On vista this fails (not really surprised here): > > 2008-10-20 15:22:16, INFO : Installing dependencies of 'CDBurnerXP' > (CDBurnerXP). > 2008-10-20 15:22:16, DEBUG : Found package node 'Microsoft .NET > Framework 2.0 (dotnet20) in package database > 2008-10-20 15:22:16, DEBUG : Going to install package 'Microsoft .NET > Framework 2.0' (dotnet20), Revision 0, (execute flag is '', notify flag > is 'true'). > 2008-10-20 15:22:16, DEBUG : Package 'Microsoft .NET Framework 2.0' > (dotnet20): Not yet processed during this session. > 2008-10-20 15:22:16, DEBUG : Package 'Microsoft .NET Framework 2.0' > (dotnet20): Not in local package database. > 2008-10-20 15:22:16, DEBUG : Checking existence of package: Microsoft > .NET Framework 2.0 > 2008-10-20 15:22:16, DEBUG : Uninstall entry for Microsoft .NET > Framework 2.0 missing: test failed > 2008-10-20 15:22:16, DEBUG : Uninstall entry for Microsoft .NET > Framework 2.0 Service Pack 1 missing: test failed > 2008-10-20 15:22:16, DEBUG : Result of logical 'OR' check is false > 2008-10-20 15:22:16, INFO : Package 'Microsoft .NET Framework 2.0' > (dotnet20): Not installed (checks failed). Preparing installation. > 2008-10-20 15:22:16, INFO : Installing dependencies of 'Microsoft .NET > Framework 2.0' (dotnet20). > 2008-10-20 15:22:16, INFO : Installing 'Microsoft .NET Framework 2.0' > (dotnet20)... > 2008-10-20 15:22:16, DEBUG : Reading variables from package > 2008-10-20 15:22:16, DEBUG : Reading variables from package Microsoft > .NET Framework 2.0 > 2008-10-20 15:22:16, DEBUG : Stored 0 variables from package > 2008-10-20 15:22:16, DEBUG : Reading variables from profile[s] > 2008-10-20 15:22:16, DEBUG : Getting profiles which apply to this node. > 2008-10-20 15:22:16, DEBUG : 1 profiles apply to this host. > 2008-10-20 15:22:16, DEBUG : Reading variables from profile default > 2008-10-20 15:22:16, DEBUG : Reading variables from host .+ > 2008-10-20 15:22:16, DEBUG : Install type: install > 2008-10-20 15:22:16, DEBUG : Fetched 1 install command(s). > 2008-10-20 15:22:16, DEBUG : Executing command : > %SOFTWARE%\dotnet\dotnetfx.exe /q /c:"install /q" > 2008-10-20 15:22:29, ERROR : Could not process (install) package > 'Microsoft .NET Framework 2.0' (dotnet20):|Exit code returned > non-successful value (4123) on command '%SOFTWARE%\dotnet\dotnetfx.exe > /q /c:"install /q"'. > 2008-10-20 15:22:29, DEBUG : Restoring previous environment. > 2008-10-20 15:22:29, ERROR : Installation of dependencies for > 'CDBurnerXP' (CDBurnerXP) failed. > 2008-10-20 15:22:29, ERROR : Could not process (install) package > 'CDBurnerXP' (CDBurnerXP):|Installing dependencies failed. > 2008-10-20 15:22:29, DEBUG : Restoring previous environment. > > What is the "correct" solution? Does Vista come with .NET preinstalled? > If so, maybe the check condition for .NET is wrong. Alternatively, maybe > Vista comes with .NET 3 (not sure how to tell). This could be harder > to solve, I don't know if I can depend on dotnet2 or dotnet3. > > Suggestions? > > Thanks > > Brian May > > ------------------------------------------------------------------------- > wpkg-users mailing list archives >> > http://lists.wpkg.org/pipermail/wpkg-users/ > _______________________________________________ > wpkg-users mailing list > [email protected] > http://lists.wpkg.org/mailman/listinfo/wpkg-users > ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/wpkg-users
