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 Help

Featured Replies

Hey everyone...

I'm testing my WPI setup and when i am trying to run by batch file.... it keeps saying it can't find the files... eventhough i copied then over to the specified folder....

attached is the error msg

and here the code the WPI created....

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing System Tools & Software - Step 2 of" /f

REG ADD %KEY%\080 /VE /D "Win Zip 9.0" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\"program files"\WinZip\winzip32.exe" /f
rundll32.exe iernonce.dll,RunOnceExProcess

pause
exit

I think it has something to do with the space in the path for "program files" but im not sure... ive tried putting 2 sets of quotes around the path like:

""%systemdrive%\program files\WinZip\winzip32.exe""

but then it say i have too many command paramaters and exits.....

any ideas???? i'm sorry if this is redundant but i am a newbie

THANKS

PS I've also had this problem when office trys to install fromt he folder "MS office 2003" as well as when NAV tries to install from "norton systemworks 2003" think it might be the spaces in these folder names as well??????

post-70-1103498410_thumb.jpg

I think the problem is comming from the double quote around "program files"

maybe you can try:

"%systemdrive%\program files\WinZip\winzip32.exe"

EDIT: you get a CMDOW error because it is not present in the SYSTEM32 folder...

  • Author

sorry i posted the wrong version of the code.... yes i have tried

"%systemdrive%\program files\WinZip\winzip32.exe"

that is where i am getting the error

I don't know why you are launching the installation from a distant folder like that. In my setup, I always launch from %systemdrive%\install\xxx...

Anyway, I think there is a Program Files variable so you could go with:

"%ProgramFiles%\WinZip\winzip32.exe"

otherwise I think you need a special syntax for that space... and unfortunatly for you I am really not good at this! :P

EDIT: or was it %ProgramFilesDir% . . ... . .. . .. . ... :blink:

  • Author

i'm launching it from the program files directory as the silent install instructions for winzip say to have it copied over to that folder and then run the command to launch the pgm.

and would my code be???

REG ADD %KEY%\080 /V 1 /D "%ProgramFilesDir%WinZip\winzip32.exe /noqp /notip /autoinstall

hello friend... why not use Winrar instead?

if not there is an entire thread dedicated to winzip u can search for it.

in your statement u say that u are using batch, wpi but it looks like u are using runonceEx.cmd

there is a missing \

try this first:

REG ADD %KEY%\080 /V 1 /D "%ProgramFiles%\WinZip\winzip32.exe /noqp /notip /autoinstall" /f

EDIT: I don't know if your swithes are good for WinZip since I never install this program...

REG ADD %KEY%\080 /V 1 /D "\"%systemdrive%\program files\winzip\winzip32.exe\" /noqp /notip /autoinstall" /f

  • Author

ok tried it

REG ADD %KEY%\080 /V 1 /D "%ProgramFiles%\WinZip\winzip32.exe /noqp /notip /autoinstall

and i get an "invalid key name" error

also i am using the WPI to create a batch file which will then run upon first logon just liek the runonceex

and i use btoh winrar and winzip.... i seem to have this issue with any folder name that has spaces in it ie "ms office" "program files" etc

Sorry, I just edited my previous post, there was some stuff missing at the END!!!

EDIT: you can give a try to nakira's syntax

  • Author

thanks everyone

its workign now....

NAKIRA

so in the future when i have a folder that is two names witha a space ie "ms office" do i put the "\ before the first set of quotes then \" after the executable file before the switches in order for the folder to be recognized as per your example?

"\"%systemdrive%\program files\winzip\winzip32.exe\" /noqp /notip /autoinstall" /f

THANKS AGAIN

Yeah, if the key you need extra quotation marks or /switches that conflict with REG's switches you escape them. :)

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.