paraffin Posted June 1, 2009 Share Posted June 1, 2009 Hello Platform | Windows 2003 Standard x64I am a bit new to WPI but have found it intuitive none the less and very useful.However I have one problem so far, after the install has finished the WPI window stays open with no option to close as seen in the screenshot.Is there an option I can use to display a Close button?How is this handled normally?I also have the option for the server to restart once installation is complete but this does not seem to work.Any help would be appreciated Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 1, 2009 Share Posted June 1, 2009 I can only surmise that "Start2003.bat" does not have a proper "exit" entry in the last line.WPI has always exited on its own. In your case it is not seeing the last command finish. Link to comment Share on other sites More sharing options...
paraffin Posted June 1, 2009 Author Share Posted June 1, 2009 I do have an exit and the script does execute and then exit fully.Here is the code with the exit in it@ECHO OFFTITLE AMS InstallCOLOR 0FFOR %%I IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%I:\WIN51AS.SP2 (SET CDROM=%%I:& GOTO DONECD):DONECDECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO -----------------------------------ECHO.ECHO Creating Partition EECHO.ECHO -----------------------------------ECHO.start /wait %CDROM%\WPI\Install\AUTO\Partition\createpart.batclsECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO -----------------------------------ECHO.ECHO Create Folders on EECHO.ECHO -----------------------------------ECHO.start /wait %CDROM%\WPI\Install\AUTO\Partition\createfolder.batclsECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO -----------------------------------ECHO.ECHO Change Default Install LocationECHO.ECHO -----------------------------------ECHO.REGEDIT /S "%CDROM%\WPI\Install\AUTO\RegTweaks\ProgramFilesLoc.reg"CLSECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO.ECHO -----------------------------------ECHO.ECHO Allow RDPECHO.ECHO -----------------------------------ECHO.REGEDIT /S "%CDROM%\WPI\Install\AUTO\RegTweaks\allowrdp.reg"CLSEXIT Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 1, 2009 Share Posted June 1, 2009 I will have to ask mritter when he gets home on tuesday (Hes on 64x)With out any of the files though tracking the problem is a problem. Link to comment Share on other sites More sharing options...
mritter Posted June 3, 2009 Share Posted June 3, 2009 Post your log file. And what version are you using? Link to comment Share on other sites More sharing options...
paraffin Posted June 4, 2009 Author Share Posted June 4, 2009 Here is the logWPI Installation Log FileInstall process started at: 01 June 2009 12:54:34WPI information: Version=7.5.0 Internet Explorer version=7.0 Internet Connection=falseOperating System Operating System=03 Edition ID=Standard Edition Service Pack=2Architecture Architecture Name=GenuineIntel Architecture Name String=Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz Architecture ID=EM64T Family 6 Model 15 Stepping 8 Number Of Processors=1 MHz=2128 Architecture Type=x86 SysArch6432=AMD64 Architecture Bits=64 True 64 Bits=false Options file=D:\WPI\WPIScripts\useroptions.js Config file=D:\WPI\WPIScripts\config.js // Window tab Resolution=0 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25 // Interface tab ShowToolTips=true UseTransitions=false IndentText=false // Style tab Theme='Windows' RandomTheme=false BgPicture='' // General tab Configurations=[''] ShowMultiDefault=true CheckOnLoad='default' NumCols=3 // --- SortOrder=['All Servers,HP Server,Agresso,SQL Server'] // --- Timer=false Seconds=60 StartBeepAtSecs=10 // --- ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=false ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=true InstallByCategory=false ReallyForce=false DisableIfDoGray=false InstallFonts=false ShowCommandInInstaller=true // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- Language='en' // Audio tab PlayAudioInInstaller=false InstallAudio=[''] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=['%systemdrive%\WPI_Audio'] DeleteAudioFolder=false // Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit4=false ExecuteBefore=[''] ExecuteAfterEnabled=false ExecuteAfterbit64=false ExecuteAfter=[''] // --- RestartComputer=true RestartType=0 RestartSeconds=30 DoNotLoadDesktop=false // --- LogInstallation=true LogPath=['%systemdrive%\WPI_Log.txt']; TimeStampLogFile=trueGlobal variables: %OSLANG%=ENU %WPIPATH%=D:\WPI %ROOT%=D: %CDROM%= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\WINDOWS %PROGRAMFILES%=C:\Program Files (x86) %TEMP%=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp %SYSDIR%=C:\WINDOWS\system32 %ALLUSERSPROFILE%=C:\Documents and Settings\All Users %USERPROFILE%=C:\Documents and Settings\Administrator %APPDATA%=C:\Documents and Settings\Administrator\Application Data %COMMONPROGRAMFILES%=C:\Program Files (x86)\Common FilesList of programs to be installed: REGTWEAKS (Must be installed for AMS Sites)1 Items, 1 Commands-----01 June 2009 12:54:36 Program: REGTWEAKS (Must be installed for AMS Sites) Unique ID: REGTWEAKS Order: 000001 Category: HP Server 01 June 2009 12:55:29 - cmd1 Success (returned code 9009): "D:\WPI\Install\AUTO\START2003.BAT" 01 June 2009 12:55:30 - Finished installation.-----Number of failed installations: 0Install process finished at: 01 June 2009 12:55:30 Link to comment Share on other sites More sharing options...
mritter Posted June 6, 2009 Share Posted June 6, 2009 Looks fine. PutCMD \Cin front of the script and see what it does. Link to comment Share on other sites More sharing options...
paraffin Posted June 6, 2009 Author Share Posted June 6, 2009 Its not only this script it doesnt close down on its even after a software install i.e. acrobat 6 etc..I can try CMD \C if you still think it will make a differenceI will confirm the version of WPI as well when I am back in work on Monday but it was very recently I downloaded it. Link to comment Share on other sites More sharing options...
mritter Posted June 6, 2009 Share Posted June 6, 2009 (edited) Since you are on Windows 2003, it may be a permission issue.And I meantCMD /C "D:\WPI\Install\AUTO\START2003.BAT" Edited June 6, 2009 by mritter Link to comment Share on other sites More sharing options...
paraffin Posted June 7, 2009 Author Share Posted June 7, 2009 I mean its not a big deal as I know it works perfectly on XP, Vista and Windows 7. I am logged on as the local admin so permissions shouldn't be an issue.Which command closes WPI? Maybe for my 2003 disks I can force it to be called any time an installation is done through WPI? Link to comment Share on other sites More sharing options...
mritter Posted June 7, 2009 Share Posted June 7, 2009 Change this in WPIScripts\core.jsfunction Pause(secs,milli){ position="core.js"; whatfunc="Pause()"; var duration, sleepCmd; duration=(secs*1000)+milli; sleepCmd='"'+wpipath+'\\Tools\\Sleep.exe" -m '+duration; SleepShell.Run(sleepCmd,0,true);}tofunction Pause(secs,milli){ position="core.js"; whatfunc="Pause()"; var duration, sleepCmd; duration=(secs*1000)+milli; sleepCmd='cmd /c "'+wpipath+'\\Tools\\Sleep.exe" -m '+duration; SleepShell.Run(sleepCmd,0,true);}It may work, it may do nothing. Something to try. Link to comment Share on other sites More sharing options...
paraffin Posted June 8, 2009 Author Share Posted June 8, 2009 Changing that line actually breaks WPI with the following error, nothing happens after this Link to comment Share on other sites More sharing options...
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