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.

"install path" problem with wpi !

Featured Replies

hi guys

could some one help me with my problem here :blushing:

the problem is that wpi cant identefy the path of my programs

i have my programs here

"%cdrom%\$oem$\$$\Temp\install\program1\program1.exe"

but when i try to install it using WPI an error message appeares saying that

cant find "%cdrom%\wpi\install\program1\program1.exe"

and i cant put my install folder in wpi dir coz i want to make 2 wpi.cmd files one of them will be in

"%cdrom%\$oem$\$$\Temp\wpi"

this one will launch after windows setup is done

and the other "modefied one" one is

"%cdrom%\wpi"

and this one will be the autoplay file for the cd

and i need to make both of those cmd files identefy the same path of my programs

i really appreciate your help guys :thumbup

so dont let me down please :blink:

Edited by j_h3000

  • Author

no its not aproblem i can live with that

but i must have 2 wpi each one of them has a different configs and default programs

one of them runs just after windows installation is done

and the other runs whenever i insert the cd so i'll remove the counter and other stuff

is it possible ?

Edited by j_h3000

We can make two seperate sets of wpi folders and keep all of the installs in a common directory. but you you are aiming at is definatley possible. So get to wrk at making 2 different wpis and i will help adjust your files so that both can reside on cd...

  • Author

ok i'll do that but this could take a while "maybe one week or mor" coz i still have to add alot of programs

so can you teach me the way now? im sure that others will need these informations, and they will find it useful

or should i tell you when i finish ?

and sorry fo wasting your time but it's really important for me :no:

  • Author

kelsenellenelvian

thank you sir i really appreciate your help and im waiting for u tonight :thumbup

bo3bdo

hehehe how r u man nice to see you here my friend :D

Here is what you have to do:

Make 2 seperate WPI folders call them WPI1 and WPI2.

Configure them to suit you needs and have you install paths be %cdrom%\install.

Configure you WPI commands like such:

For WPI1 (Post Installation)

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i 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 if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%cdrom%\wpi1

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

REM Force resolution to needed size for wpi interface.
--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

REM Font installation - the smooth and customizable way.
--start /wait %wpipath%\Tools\fonts\fontinstaller.exe

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

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\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..."

del %0

For WPI2 (For Whenever)

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i 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 if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%cdrom%\wpi2

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

REM Force resolution to needed size for wpi interface.
--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

REM Font installation - the smooth and customizable way.
--start /wait %wpipath%\Tools\fonts\fontinstaller.exe

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

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\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..."

exit

:end

Edit the autorun.inf as follows:

[AutoRun]

open=wpi2\wpi.cmd

icon=wpi.ico

Build your cd directory structure like this:

Windows specific files (Like win51)

i386

$oem$

|---$1

WPI1

WPI2

WPI.ico

Autorun.inf

Install

Place WPI.cmd #1 in the $oem$\$1 folder and call it through winnt.sif. Like so:

[GuiRunOnce]

"%systemdrive%\wpi.cmd"

Place WPI.cmd #2 in the WPI2 folder and autorun is already configured to call it.

If you get any errors tell me and I will help you sort them out.

Edited by kelsenellenelvian

  • Author

thanks man it's working now

i guess the problem was only the path of WPI

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.