iandmcneill Posted February 10, 2005 Posted February 10, 2005 Hi,First off - what a great resource this is..Wonder if anyone can help with this problem I have when trying an unattended install of VS.NET 2003. The problem is that all the prereqs seem to work fine, but the main VS install fails. When the machine restarts I can manually run another CMD with just the vs setup.exe reg entries (088) and it installs fine. My guess is that one of the pre-reqs is not installing correctly without a restart? I have the following commands in RunOnceEX.cmd - if anyone sees anything wrong please let me know - this is driving me nuts!REG ADD %KEY%\083 /VE /D "Microsoft .NET Framework SP1" /fREG ADD %KEY%\083 /V 1 /D "%systemdrive%\install\Apps\NetFramework\netfxsp1.exe" /fREG ADD %KEY%\084 /VE /D "VS.NET 2003 - Setup Files" /fREG ADD %KEY%\084 /V 1 /D "msiexec.exe /qn /i %systemdrive%\install\apps\vs71\wcu\bootstrap.msi REBOOT=ReallySuppress" /fREG ADD %KEY%\085 /VE /D "VS.NET 2003 - Web Components" /fREG ADD %KEY%\085 /V 1 /D "msiexec.exe /qn /i %systemdrive%\install\apps\vs71\wcu\weccom.msi REBOOT=ReallySuppress" /fREG ADD %KEY%\086 /VE /D "VS.NET 2003 - MDAC 2.7" /fREG ADD %KEY%\086 /V 1 /D "%systemdrive%\install\apps\vs71\wcu\mdac27sp1\mdac_typ.exe /q:a /c:"dasetup.exe /Q /N"" /fREG ADD %KEY%\087 /VE /D "VS.NET 2003 - J# Runtime" /fREG ADD %KEY%\087 /V 1 /D "%systemdrive%\install\apps\vs71\wcu\jsredist.msi REBOOT=ReallySuppress /QB" /fREG ADD %KEY%\088 /VE /D "VS.NET 2003 Enterprise Architect" /fREG ADD %KEY%\088 /V 1 /D "%systemdrive%\install\apps\vs71\setup\setup.exe /UnattendFile "c:\install\apps\vs71\setup\vs7.ini"" /f
Astalavista Posted February 10, 2005 Posted February 10, 2005 why dont you just repack the entire package into a single installer?do you have installshield?there is a new net frame work u can download i just made it today.w/ the latest patch and totally silent
iandmcneill Posted February 10, 2005 Author Posted February 10, 2005 why dont you just repack the entire package into a single installer?do you have installshield?there is a new net frame work u can download i just made it today.w/ the latest patch and totally silentHi,I have wise package stuio - however I was hoping to achieve the unattended install it using the individual installers - repackaging was a last resort as I find it to be a bit of a pain for very large apps. The .net framework is silent & patched.Cheers
mrguitarmann Posted August 6, 2005 Posted August 6, 2005 REG ADD %KEY%\088 /VE /D "VS.NET 2003 Enterprise Architect" /fREG ADD %KEY%\088 /V 1 /D "%systemdrive%\install\apps\vs71\setup\setup.exe /UnattendFile "c:\install\apps\vs71\setup\vs7.ini"" /fREG ADD will see your command line as invalid and not add it to the registry, which I believe is causing your problems. When you use quotes for the /D value, you need a backslash preceeding the quote.Here's your fixed line...REG ADD %KEY%\088 /VE /D "VS.NET 2003 Enterprise Architect" /fREG ADD %KEY%\088 /V 1 /D \"%systemdrive%\install\apps\vs71\setup\setup.exe /UnattendFile \"c:\install\apps\vs71\setup\vs7.ini\"" /fHave fun Tom
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now