masonje Posted August 24, 2006 Posted August 24, 2006 SplashTextOn("Dot Net", "Installing .Net" & @CR & "Please stand by...",300,50) RunWait("msiexec /i ..\DotNet-110-MSI-XP\netfx.msi") SplashTextOn("Dot Net", ".Net Installation complete.",300,50) Sleep(5000) SplashOff() it can't find the msi w/ this runwait statement. How can do go w/ a relative path rather than a defined path. This is going on a CD later.
MHz Posted August 24, 2006 Posted August 24, 2006 Try this SplashTextOn("Dot Net", "Installing .Net" & @CR & "Please stand by...",300,50) RunWait('msiexec /i "' & @ScriptDir & '\..\DotNet-110-MSI-XP\netfx.msi"') SplashTextOn("Dot Net", ".Net Installation complete.",300,50) Sleep(5000) SplashOff()
masonje Posted August 24, 2006 Author Posted August 24, 2006 runwait('msiexec /i "' & @ScriptDir & '\DotNet-110-MSI-XP\netfx.msi"') did the trick. I never used the @ScriptDir before. Thanks.
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