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.

Changes I Made - Improvements

Featured Replies

I found the FileExists function doesn't like the quotes around the filename so I moved the code which adds the quotes to after the FileExists check within installer.js e.g.:

if (cmdLine.indexOf(" ") != -1 && cmdLine.substr(0,1) != '"')

cmdLine='"'+cmdLine+'"';

if (!FileExists(cmdLine))

{

programs.fail=true;

cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName;

WriteLogLine(cmdName+' '+result+' (returned code '+ReturnCode+'): RegEdit /S "'+cmdLine+'"');

return;

}

became:

if (!FileExists(cmdLine))

{

programs.fail=true;

cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName;

WriteLogLine(cmdName+' '+result+' (returned code '+ReturnCode+'): RegEdit /S "'+cmdLine+'"');

return;

}

if (cmdLine.indexOf(" ") != -1 && cmdLine.substr(0,1) != '"')

cmdLine='"'+cmdLine+'"';

I also made the following change in core.js to remove the security prompt that occurs everytime sleep.exe is called:

sleepCmd=wpipath+"Tools\\Sleep.exe";

became:

sleepCmd="cmd /c "+wpipath+"Tools\\Sleep.exe";

Looked at your code some more. That is an older version of the code. Between Dje and I we have worked out pretty much all the issues with quotes and args. Attached is the latest official version. Just replace your curent one with this one.

Ok, but the installer will not work now it says "programs" undefined now. and before that the execute before and after will not work.

any thoughts?

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.