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.

5.0rc2 cdrom variable? how to use it?

Featured Replies

hi, for test reasons i manage a CD like:

CD: |

|-i386 (folder with only drivers.cab file)

|-_soft_ (folder with only notepad.exe)

|-(all WPI folders: Audio,Common,Example.. etc.)

|-WPI.hta

|-win51

i change "Defaultblank" to "notepad.exe" and

Command 1 = %cdrom%\_soft_\notepad.exe

and when i start wpi.hta from cd and click on "Begin install" there is X on notepad and notepad.exe wont start?

could someone can explain me where or how to configure that?

and does JS and/or wpi scripts check for big and small letters, %CDROM% <> %cdrom% ??

I want (future) to put WPI folder in _soft_ folder and install programs from _soft_\@programs folder (%cdrom%\_soft_\@programs\acrobarreader\acr.exe).

Can I do that?

Edited by thern

From the thread:

WPI checks for WPI.hta, WIN51 or Driver.cab and uses any one of these for the dir identifier.

You can open generate.js and find "function FindCDRom()"

There should be a bunch of "if (FileExists[...])" commands. Rearrange them, or list your own file accordingly. Be sure to follow the same pattern that you see in the file.

to make life a tab easyer

keep all of the WPI files in a folder called WPI

<CD/DVD ROOT>

- I386

- so on

- so on

- so on

- so on

- wpi

- wpi.hta

- auido

- config

- so on

and its %cdrom%\\path\\file.exe

:)

  • Author

ok, i've got it to work

i must do all things again, unpack archive with WPI and repleace config files, but sill sometimes have strange error in generate.js after clicking on "Begin install" like FindCDRom() in line 25 or FileExits() blablabla, when i dont even touch config files, option or else...

thanks guys!

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.