MSFN Forum: wpi.reg What does this do? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

wpi.reg What does this do? Rate Topic: -----

#1 User is offline   drscouse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 237
  • Joined: 03-January 04

Posted 23 November 2005 - 08:14 AM

My first look at what appear to be a very useful little prog indeed, seems on first look that it is an advanced alternative for installing apps via the RoE method....

Ive been having a browse through its contents, to understand what it does, and how it does it... as with most things, I like to get a good understanding of them before I implement them...

I am however, a little puzzled by the wpi.reg file...

Quote

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]"MaxScriptStatements"=dword:ffffffff
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mo
v;.mp3;.m3u;.wav;"


What does this do exactly...

Thanks


#2 User is offline   glent 

  • Tpyo Spceialist
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,041
  • Joined: 16-August 04

Posted 23 November 2005 - 02:29 PM

there was a bug a long time ago causing WPI to report an error like. This is a an error causing the script to run slowly do you wish to abort. This would happen and halt the process of applications installing. The reg file stops this error and removes the entrie when WPI exits

#3 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 November 2005 - 03:29 PM

Also on a fresh install of windows xp with sp2 every install had a popup asking if you really wanted to install that (some kind of security warning) this fixes those issues. But dont worry they are all remove after wpi is done running.

#4 User is offline   drscouse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 237
  • Joined: 03-January 04

Posted 24 November 2005 - 08:13 AM

Quote

Also on a fresh install of windows xp with sp2 every install had a popup asking if you really wanted to install that
I dont get this happening on my current unattended install cd using RoE method of installing stuff, why would this happen during the use of WPI. I dont see what WPI would be doing different, I run .bat, .cmd, .exe, .reg .msi etc from my cd without any warnings/popups.. WPI just installs the same things that my RoE would, in the same way...

Quote

But dont worry they are all remove after wpi is done running


So the orignal reg entries are restored?, I see no reg undo, or anything that would reverse this entry... :unsure:


Thanks....

This would definately make my cd more configurable, without the need of a multi OS install disk... it looks fantastic :D

#5 User is offline   athomsen 

  • WPI Developer
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 07-May 04

Posted 26 November 2005 - 11:49 AM

drscouse, you are correct. They are not removed. I have posted here before that leaving these settings on your computer is CRAZY. This is especially true for network admins that use WPI (read stupid end users).

Personally, I do not use the reg file, but I do not use WPI with fresh SP2 installs either. Nor have I tested it.

#6 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 November 2005 - 03:35 PM

I am sorry the entries have been added to the NEXT version not this one. here I will post the corespoding changes. Rename the attached as undo.reg and add the following into WPI.cmd:

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

REM Undo registry tweak.
regedit /s "%wpipath%\common\undo.reg <--- NOTE AFTER THE WPI.hta has been run.

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]
"MaxScriptStatements"=dword:ffffffff

This is to ensure that an error does not pop up during long installs saying this script is causing internet explorer to run slowly do you wish to continue.

This post has been edited by kelsenellenelvian: 26 November 2005 - 03:33 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy