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.

wpi.log, return code explanation?

Featured Replies

I was just browsing my wpi.log to check if everything went ok, most "returned codes" were 0 or -1, but with 1 .regfile i saw the following return code:

-----

donderdag 10 augustus 2006 19:40:23
Program: Add Open with Notepad
UID: ADDNOTEPAD
Order: 900003
Category: Shortcuts & Cleanup
donderdag 10 augustus 2006 19:40:25
Reg Before Success (returned code -1073741502): "RegEdit /S D:\SETUP\WPI\registry\ennotepadrightclick.reg"
donderdag 10 augustus 2006 19:40:25
Finished installation

could anybody explain me what this return code means?

Edited by TRuLLi

My guess is that its a return code of one of your entries in the regfile, but I don't know. Regedit is really more of a GUI editing tool, and does not return any sensible codes. It would probably be better to use reg.exe instead of regedit.exe. Reg.exe is a ms-dos based tool returns 0 for success and 1 for failure.

Try something like:

reg import "%wpipath%\registry\ennotepadrightclick.reg"

Reg.exe comes builtin with WinXP Pro and Win2k3 Server, for Win2k it

is available in this package:

http://www.microsoft.com/windows2000/downl...pporttools.mspx

  • Author

I just used the "regb" option from wpi, which uses regedit.. so this code isnt a normal code? :P

Well I wouldn't say that the code is irregular or necessarily bad. It could be anything: a warning, an uninitiated integer, who knows. My point about reg.exe is that it sends either success or failure and nothing in between. Have you looked to see if the reg entries imported correctly?

  • Author

then i'd say you suggest that the next version of wpi uses reg.exe instead of regedit /S ;)

no, i haven't looked into it yet, got a strange bug in my wpi. had no time to look into it yet, but after it adds this registry value (it's noting irregular in there), it suddenly reboots. dunno what the cause of this is yet..

Made a note of reg.exe. Just may have to switch.

Mark, beware that as noted above, reg.exe is not included in W2K. So it will have to be clear for those users that they have to download it.

I agree. Those who want to use it, can change the code in the handleCommand function of installer.js.

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.