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.

few questions regarding switches and install.cmd

Featured Replies

I'm new to this and while adding silent installs to my install.cmd I've go a few questions:

1. REG ADD %KEY%\004 <--- what does this number represent

2. For the number above is there a set incrementations to follow or any will do?

3. Guirunonce and runonceex ---> I read that both run at the same time, I'm currently only using the runonceex method to install programs and regtweaks. Is there a difference between the two? Which one is more favoured?

4. In my attempt to make my install.cmd, what does theses switches stand for?

/ve

/v 1

/d

/f

/qn

/qb-

where is %PP% located?

Thanks.

Edited by coorrel


I'm new to this and while adding silent installs to my install.cmd I've go a few questions:

1. REG ADD %KEY%\004 <--- what does this number represent

It's just a sequential number to make your installations run in the specified order.

2. For the number above is there a set incrementations to follow or any will do?
Any will do. Personally, I use 9000, 9010, 9020... and so on. That way, I can always squeeze in a new installation at 9011 or 9015, just like in the good old BASIC days ;)
3. Guirunonce and runonceex ---> I read that both run at the same time, I'm currently only using the runonceex method to install programs and regtweaks. Is there a difference between the two? Which one is more favoured?

There is a difference: GuiRunOnce creates a progress window, which looks much nicer. Apart from that they're basically the same.

4. In my attempt to make my install.cmd, what does theses switches stand for?

/ve

/v 1

/d

/f

These are all REG ADD switches. Type "REG ADD /?" in a command window for details.
/qn

/qb-

These are Windows Installer (MsiExec) switches. Type "MSIEXEC /?" (Windows Installer 3.x only) or see *this document* for details.

where is %PP% located?

Sorry, can't help you with that. If it's in a script, it's an environment variable that probably gets set earlier/somewhere else. Where did you get this from?

Edited by Ctrl-X

  • Author

Sorry I found the variable in my CMD which I copied over from a friend:

SET PP=%SystemDrive%\Install\

Thanks for being very helpful.

Super help by Ctrl-X!

BTW, %PP% is used for the same purpose as %KEY%.

We SET KEY=HKLM\SOFTWARE\MICR....ect., so we avoid typing

REG ADD HKLM\SOFTWARE\MICR....ect.! Instead, we just type REG ADD %KEY%.

Likewise, we SET PP=%SystemDrive%\Install\, so we avoid typing

%SystemDrive%\Install\My.EXE! Instead, we just type:

%PP%My.EXE!

Both SET KEY=HKLM\...etc and SET PP=%SystemDrive\...etc should be

located at the beginning of our batch file.

Edited by mazin

There is a difference: GuiRunOnce creates a progress window, which looks much nicer. Apart from that they're basically the same.

:o

  • Author

Another quick question. I downloaded a silent switchless dotNET1.1 and 2.0 install and it says to "Install from: svcpack.inf".

Since I'm not very familar with svcpack.inf, would it make a difference if I just run it first thing in RunOnceEX?

I'm not very familar with svcpack.inf

SVCPACK requires a little work. Just consult the main guide.

BTW, %PP% is used for the same purpose as %KEY%.

We SET KEY=HKLM\SOFTWARE\MICR....ect., so we avoid typing

REG ADD HKLM\SOFTWARE\MICR....ect.! Instead, we just type REG ADD %KEY%.

Likewise, we SET PP=%SystemDrive%\Install\, so we avoid typing

%SystemDrive%\Install\My.EXE! Instead, we just type:

%PP%My.EXE!

Right, I didn't know that... Personally I do use the %KEY% variable, but only for readability reasons. I never type the whole file/registry path anyway; I just copy, paste and edit a similar line ;)

There is a difference: GuiRunOnce creates a progress window, which looks much nicer. Apart from that they're basically the same.

:o

You don't agree? Could you please explain why not? IMHO they're not that different...

Edited by Ctrl-X

I've only seen the RunOnceEx window.

:blushing: Right! Slip of the mind :rolleyes: Sorry all, that post should have read: RunOnceEx creates a progress window, which looks much nicer!

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.