TechKnow

Author Topic: [BAT] Fix VS2005 htmllite.dll/ENU disk1 error install  (Read 3047 times)

0 Members and 1 Guest are viewing this topic.

Offline HcH

  • TechKnow Owner, Ethical Hacker
  • Administrator
  • Uber Member
  • *****
  • Posts: 9936
  • Karma: +2284/-111
[BAT] Fix VS2005 htmllite.dll/ENU disk1 error install
« on: November 22, 2011, 10:50:10 PM »

Well I got this problem just here, I fixed it not by doing whatever lamo is doing @ MSDN, that is burning discs with fixed volume labels, but with scripting!

Code: [Select]
echo off
rem ; This script is intended to fix the htmllite.dll error while installing from Disc 3070.1, April 2007
rem ; The setup keeps asking for the first install dvd which is found by identifying the volume label of the DVD
rem ; This script needs the folder English, or other language, available on the harddisk. Put the loader in the folder on the HD so the SUBDIR VS2005Pro is reachable.
rem ; The script renames the label of the harddisk to match the installer DVD's label, the original label name is stored before the rename in the file loader_org.txt
cls
if exist X: echo WARNiNG X: Already exists, press any key to overwrite!
pause>nul
if exist Y: echo WARNiNG Y: Already exists, press any key to overwrite!
pause>nul
if exist X: subst X: /D
if exist Y: subst Y: /D
vol C: >>loader_org.txt
color 0a
cd VS2005Pro
cd disk1
subst X: .
cd..
cd disk2
subst Y: .
cd..
C:
label C: VSENTD1
X:
echo off
echo.
echo  ####################################
echo  ## Don't shut this windows yet    ##
echo  ## until after the setup is done  ##
echo  ####################################
vol X:
echo ###########################
echo ## When setup asks for : #############
echo ## _15780_RTL_x86_enu_NETCF_v2.0.cab ##
echo ## Press any key to change to disk2  ##
echo #######################################
echo.
setup.exe
pause
Y:
subst X: /D
subst X: .
label C: VSENTD2
echo.
echo #################################
echo ## Changed to disk 2 of VS2005 ##
echo #################################
vol Y:
echo #################################
echo ##  Hit any key to terminate   ##
echo #################################
echo.
pause

Well isn't that just a beautiful solution? Faster and cheaper than burning discs :D[/color]