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.

applications install (via start.cmd)...but don't

Featured Replies

Hi,

i've been having a spot of bother with my silent installs.

i'm using the guirunonce method

(relevant files attached)

what seems to happen is it does the .net stuff and the windows media bits then rapidly fires through the rest and restarts.

or possibly it restarts then rapidly fires through the rest, I'm not sure, sorry.

once restarted, only the .net stuff and wmp is installed

the application event log shows no attempts to install the others.

also, it only tries to install on the second login, not the first.

i.e. windows finishes installing and boots into windows, then i click loggoff and when i log back in, it THEN runs the install apps.

not sure why.

hope you can help...

WINNT.SIF

start.cmd

cmdlines.txt

Last_Session.ini

You are mixing 2 different install methods, GUIRunOnce and RunOnceEx.

start.cmd is built as if it is going be used with RunOnceEx method, but is triggered with GUIRunOnce method. That's why it executes on second logon, because start.cmd only imports keys to registry for next logon execution (as with RunOnceEx method) but instead of being executed from cmdlines.txt during GUI Setup, it's being executed on first logon, importing keys to registry to be executed on second logon.

And start.cmd is not installing your software because you're using "regedit /s installcommand /f" as your install command and not just "installcommand".

Edited by strel

  • Author

Thanks for your help there Strel,

i've read up a bit and changed it round. To use only the RunOnceEx method

i've deleted the guirunonce reference from my winnt sif file.

i've edited start.cmd, renamed it RunOnceEx.cmd and placed it in the $OEM$ folder.

I also traced the existing commands in the cmdlines.txt file (nlite command) and moved it into the runonceEx.cmd file

i also found i had tried to get things to run at once

so i changed anything like this

REG ADD %KEY%\015 /VE /D "Firefox and addons" /f
REG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\Firefox\FirefoxSetup3.0.7.exe /S" /f
REG ADD %KEY%\016 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\adblock_plus-1.0.1-fx+sm+tb.xpi" /f
REG ADD %KEY%\017 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\foxmarks_bookmark_synchronizer-2.7.2-fx.xpi" /f
REG ADD %KEY%\018 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\tab_mix_plus-0.3.7.3-fx.xpi" /f

to this

REG ADD %KEY%\015 /VE /D "Firefox and addons" /f
REG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\Firefox\FirefoxSetup3.0.7.exe /S" /f
REG ADD %KEY%\016 /V [b]2[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\adblock_plus-1.0.1-fx+sm+tb.xpi" /f
REG ADD %KEY%\017 /V [b]3[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\foxmarks_bookmark_synchronizer-2.7.2-fx.xpi" /f
REG ADD %KEY%\018 /V [b]4[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\tab_mix_plus-0.3.7.3-fx.xpi" /f

but it's still not installing the application.

It will install net1.1 and net2 fine, but not firefox which is between them.

once it loaded (i'm using vmware ) i tried pasting in the foxit command

%systemdrive%\install\FoxitReader30_enu_Setup.exe

into the run box, and it installed fine.

:0(

any ideas?

AAAAAHHHHHH wait i see what you're saying.

i'm adding the word regedit to the start of all the ones that don't work.

the ones that do work don't have the regedit line.

that's will teach me to cut and paste !...

:thumbup

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.