Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Advise for upgrade WPI 4.35 to 5.3

Featured Replies

Hi,

Since a year i used WPI 4.3.5 with success. :D

Because progs/appz update, i start rebuilding a new Unattended DVD using this time WPI 5.3

1) Can i still launch wpi.cmd from winnt.sif?

In fact, because i have 2 CD-ROM drive installed. A For-In-Do with a File/folder/volumename check searches all drives (C-Z), including a second CD drive that it may or may not have a CD in. Empty CD drives (and other drive types such as Iomega Rev) will cause errors when the Windows shell tries to check them for a file, or a label or whatever. Windows will put a dialog up on the screen and halt the installation until you respond: "'Windows No Disk' 'There is no disk in the drive. [Cancel] [Try Again] [Continue]"

More info regarding CD detection HERE

here my files:

cmdlines.txt

[COMMANDS]
"MakeMapCD.cmd"

MakeMapCD.cmd

:Start
@Echo OFF
Setlocal enableextensions

:SetVars
Set MapCDPath=%SystemDrive%\Install

:Logic
:: Capture CD drive letter inside MapCD.cmd, which can now be called.
:: from any other script.

If Not Exist %MapCDPath%\. MD %MapCDPath% >Nul
> %MapCDPath%\MapCD.cmd Echo. @Echo Off
>> %MapCDPath%\MapCD.cmd Echo. Set CDROM=%~d0

:End
EndLocal
Goto :EOF

wpi.cmd

:Start
@Echo Off
Setlocal

:SetVars

:: After having called MakMapCD.cmd from CmdLines.txt, the next line should
:: be executed in EVERY command script that requires %CDROM%.
Call %SystemDrive%\Install\MapCD.cmd

:Logic
@ECHO OFF
:: REM set wpipath=%~dp0
set wpipath=%CDROM%\Software\WPI

:: REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid

:: 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 "%CDROM%"

:: REM Start WPI and wait for its end
start /wait %CDROM%\Software\WPI\WPI.hta

:: REM Cleaning up the desktop.
del /s/q "%userprofile%\desktop\*.lnk"

:: REM Rebooting the sytem to finalize the installation process.
:: --shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."

:End
Endlocal
Goto :EOF

2) Does DotNetFramework2 should be installed before launching WPI 5.3?

TNX for yr help

coucou

I can confirm that you do not need to install .net2.0 before launching wpi. I install .net with WPI :D

  • Author

TNX for yr reply larciel :D

Anyone can help with my 1st question (wpi.cmd from winnt.sif)???

Regards

coucou

It will work.

However, no need for the

:: REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg"

  • Author

TNX sadicq for this enlighten.

BTW, as far as i understand from yr conclusuon of THIS POST you recommend "to NOT use winnt.sif because RunOnce was not doing its job".

Do I undersatnd well?

Am I concerned (see my files above)?

Regards

coucou

You can use it as it does it's job pretty well. That post is exactly what I used for the last 10 DVDs or so.

Now I call some exes from the runonceex, but that's my way anyway.

There's no other problem with the migration.

  • Author

Sorry for bothering you again, i want 100% understanding.

You can use it as it does it's job pretty well.
Are you speaking about your files HERE or my files here above?
That post is exactly what I used for the last 10 DVDs or so.

Now I call some exes from the runonceex, but that's my way anyway.

May you let me know how look's the wpi.cmd file called from yr RunOnceEx.cmd.

Regards

coucou

Both of them are working.

Actually WPI 5.0 introduces new features, trying to maintain backwards compatibility.

The content of my wpi.cmd is pretty much like yours is, but unfortunatelly I can't post it as I'm not at home at the moment.

My advice is to keep your current layout and remove that reg file. That's it.

It should work flawlessly. :yes:

  • Author

TNX sadicq,

I'll test it next week and let you know

coucou

  • Author

Hi,

As promised, here the feedback.

I got successs installing my dvd as my way here above when wpi.reg file was suppressed.

Regards

coucou

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.