Jump to content

Krim

Member
  • Posts

    26
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

About Krim

Krim's Achievements

0

Reputation

  1. Nevermind this post. Started all over again and added stuff bit by bit. I shouldnt have copied over generate.js
  2. Hello, if anyone here can help me now would be appreciated. I downloaded 4.3.5 and copied across my working network environment version of generate.js, useroptions.js and config.js Made following change to wpi.cmd set wpipath=%~dp0 to set wpipath=%cdrom% Changed file paths in WPI to be %cdrom% instead of the network location. Burnt to a CD, run WPI - starts up fine. Select something to install and hit 'Begin Install' but nothing happens If i deselect the software program, hit 'Begin Install' it then goes to the RunOnceEx window with the item i unchecked then doesnt even install it. Any ideas?
  3. @echo off&setlocal enableextensions REM put the sharename and the application directory into variables set share=\\CFOS\prai_software$ set appdir= ECHO Server software share connecting to is: %share%\%appdir% REM detect the first free drive letter and set it to drvlet for %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do ( fsutil fsinfo drivetype %%a:|find "No such Root Directory">nul 2>&1&&call :check %%a: ) ECHO Mapped network drive letter is: %drvlet% ECHO Mapped application directory is: %Appdir% REM Connect the softwareshare to drvlet net use %drvlet% %share% REM Write the app-path to the regsitry REG ADD HKCU\SOFTWARE\WPI /v SWPATH /t REG_EXPAND_SZ /d "%drvlet%" /f REM Determine the WPI startup path. set wpipath=%~dp0 REM Font installation - the smooth and customizable way. start /wait %wpipath%\Tools\fonts\fontinstaller.exe REM Force resolution to needed size for wpi interface. REM start %wpipath%\Tools\VideoChanger.exe 1024x768x32@85 -q REM Special registry tweak needed. regedit /s "%wpipath%\common\wpi.reg" REM Make WPI directory the current directory. for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i: cd "%wpipath%" ECHO Successfully connected! ECHO Starting WPI please wait ... REM Start WPI and wait for its end start /wait WPI.hta REM Display completed message echo Display WPI completed message notepad.exe "%drvlet%\WPI_4.3.5\Misc\WPI_Completed.txt" REM Delete the Key from the registry REG DELETE HKCU\Software\WPI /f REM Disconnect the network drive NET USE /DELETE %drvlet% endlocal&goto :eof :check if not defined drvlet set drvlet=%1&goto :eof As you can see ive commented out the video changer line.
  4. hey, yep its set to 800x600 but it always defaults to 1024x768. So on a screen with 1024x768 resolution it doesnt run in a window mode. If i use WPI on a screen that is 1280x1024 is changes it to 1024x768. weird huh...
  5. Is there any way for WPI to use the resolution that is currently being used by the computer ? Ive taken out the videochanger line in the wpi.cmd but it still always defaults to 1024x768 even on computers that are 1280x1024. Annoying having to change the resolution back and organise all the icons properly.
  6. cheers dude. I did a quick test with the new version and works all sweet. Ill copy over thoes files and continue using the new version One last question, i have modified generate.js, is it ok to also copy this over from my current WPI to the new WPI version? Rather, have you made changes to that file so i would have to add my own changes to the new version. edit: nevermind i just made the changes to the new generate.js
  7. mmm month or so ago ? Which file do i need to replace/redownload?
  8. Hello, I am having the same issue. In options i have the following in List of configuration options: AL,Test1,Test2 I then enter in Configurations for a software item the following: AL When i save and then select the AL item from the drop down list on the main page nothing gets selected. Been at this for a couple of hours now trying to follow this thread without success
  9. Quick update to this thread - Search for Office Resource Kit on the microsoft site. You can download the kit which will allow you to create an MST file based on an administrator msi you create. That way you dont have to enter any CD key and then the MST file contains all the options you selected. Now if only all msi based packages had a resource kit to create an MST file
  10. Ive also found that if i am using the -f1/-f2 switches i need to specify both when running from WPI. If i run manually i can use just -f2 and it picks up the .iss file itself.
  11. Question: Since we are running WPI from a network share and the WPI files are stored on the server. Can 2+ people be using the same WPI folder/files at the same time or will this cause problems.
  12. Hello all, Ok i have created a setup.iss file using -r switch. Use the following to run the install: Setup.exe -s -f1"C:\setup.iss" -f2"C:\setup-hraccess.log" The setup log gives the following: [installShield Silent] Version=v3.00.000 File=Log File [ResponseResult] ResultCode=0 The result code means its successfull right although the program does not get installed Any ideas/tips as i thought it would be a very straigt forward process with an application using Installshield.
  13. rofl that sounds so dodgy id try it for a laugh Sorry to hear your loss though, first rule of WPI is backup, the second rule of WPI is backup !!
  14. Nice solution. As i said im still new to this and Doc's guide was the only real guide in how to get WPI to work from a network share. I am still not sure how you are kicking of WPI? Do you do a start->run to where WPI is located and run it from there ?
  15. Thanks for updating the psot Doc. Maybe edit the title to remove 3.6 as you have stated in the post it has been tested on 3.6 and 4.3.5 People might not look at it as 3.6 is an older WPI version. I will try the new code out tonight and report back on my success Love your work !
×
×
  • Create New...