myselfidem
Content Type
Profiles
Forums
Events
Posts posted by myselfidem
-
-
NOTE:
However if you use WPI on your computer and exit without using a new time 'Execute after'
the settings about the registry keys will be erased and saved as default with security values!
; Key removed
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".avi;.bat;.com;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip"
; Key restored with default value
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]
"RunInvalidSignatures"=dword:00000000Regards
*Edit: We can see how works inside WPI:
Inside WPI.hta
WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Download\\CheckExeSignatures","no","REG_SZ");
WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Download\\RunInvalidSignatures",1,"REG_DWORD");
WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\\LowRiskFileTypes",".js;.zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.hta;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;.ade;.adp;.bas;.chm;.cpl;.crt;.dll;.hlp;.inf;.ins;.isp;.jse;.lnk;.mdb;.mde;.msc;.msp;.mst;.pcd;.pif;.scr;.sct;.shs;.url;.vb;.vbe;.vbs;.wsc;.wsf;.wsh","REG_SZ");And inside core.js
On line 543:
WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Download\\RunInvalidSignatures",0,"REG_DWORD");
And from line 593:
if (!ExitBeforeInstall)
{
RestoreRegistryKeys();
if (getOSver()=="XP" || getOSver()=="Vista" || getOSver()=="Win7" || getOSver()=="Win8")
{
DeleteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\\LowRiskFileTypes");
DeleteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\\");
}0 -
On your computer you can install this reg file:
Unlock.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".avi;.bat;.com;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip"
"DefaultFileTypeRisk"=dword:00001808
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"ScanWithAntiVirus"=dword:00000003Restart your computer !
http://www.msfn.org/...ost__p__1042521
http://support.microsoft.com/kb/883260
*Edit: t
Programs (or files) downloaded before applying this registry keys need to be unlocked with right-click manually.
The new ones downloaded after, do not display the unlock button!
0 -
However:
Backup Compatibility:
- Windows 8 Family
- Windows 7 Family
- Windows Vista Family
- Windows Server 2008 / 2011 / 2012 Family
- Microsoft Office Family from 2010 to 2013
* All editions, versions and Service Packs.
* Requires .NET Framework v4.0.
Regards
0 -
A workaround, if we want integrate this registry keys is to use RunOnceEx method, like this example:
1 - Create a batch file:
Assistant.bat
@echo off
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\010 /V 1 /D "REGEDIT /S %systemroot%\Setup\scripts\Assistant.reg" /f
shutdown.exe /r /t 10
EXIT2 - Inside your %Distribution_Folder%, create $OEM$\$$\Setup\scripts (inside :.\sources)
3 - Copy your Registry file inside the folder scripts:
Assistant.reg (added more values)
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: Open File Security Warning - Enable or Disable
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".avi;.bat;.com;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=-4 - Using Execute after with WPI inside Options wizard Tools (checked)
5a - You can use and write: {BATCH}
5b - And browse to the path where you set the batch file:
example: {BATCH} C:\WPI_v8.6.6\Install\Tweaks\Assistant.bat
WPI_Log.txt
lundi 17 juin 2013 21:18:47
Programme: Execute After
ID unique: EXECUTE_AFTER
Ordre: 0
Catégorie: WPI Built In
lundi 17 juin 2013 21:18:47 - cmd1 Succès (Code de retour 0): "cmd.exe" /C "C:\WPI_v8.6.6\Install\Tweaks\Assistant.bat"
lundi 17 juin 2013 21:18:48 - Installation terminée.
6 - The registry file will take effect when the computer restarts
Tested and works fine!
*Edit: Check if you have unlocked the exe file first
0 -
Hello coucou !
Maybe it's about the discussion on this thread:
http://www.msfn.org/...post__p__967448
*Edit: You will find also help here:
0 -
Inside configwizard.js
It seems we can remove on line 537:
case 'paths_gamesrc':
HandleCommandsSelectionMenu("%gamesrc%\\");
break;And from line 2210:
else if (str.indexOf(gamesrc) != -1)
{
trimpath=gamesrc;
trimpathvar="%gamesrc%";
}Inside globals.js we can remove on line 228:
// core.js
var gamesrc=WshEnv("gamesrc");
Thanks and regards
0 -
Inside information.js
Maybe we can add
On line 145:
VariablesGrid.addRow(gId++,'COMSPEC,'+ReplacePath("%comspec%")+'');
Thanks and regards
0 -
Thanks Kels!
Best to not add this.
Regards
0 -
Inside dhxtools.js
Maybe we can change
function AutoSizeWindow(xWin,divID)
{
position="xwindows_tools.js";
whatfunc="AutoSizeWindow()";To:
function AutoSizeWindow(xWin,divID)
{
position="dhxtools.js";
whatfunc="AutoSizeWindow()";Thanks and regards
0 -
Maybe we can add inside core.js
position and whatfunc
Add to:
function SetNotExitingFlag()
{
position="core.js";
whatfunc="SetNotExitingFlag()";Add to:
function RefreshWPI()
{
position="core.js";
whatfunc="RefreshWPI()";Add to:
function WPIUnloading()
{
position="core.js";
whatfunc="WPIUnloading()";Add to:
function handleErrors(msg,url,line)
{
position="core.js";
whatfunc="handleErrors()";Thanks and regards
0 -
Inside alerts.js
a little typo on line 105:
Change:
messBox += '<td width="100%"></td><t></td>';
To:
messBox += '<td width="100%"></td><td></td>';
Thanks and regards
*Edit:
Inside alerts.js it seems we can change on line 98 (removing an unwanted </div>):
messBox += '<tr><td><div id="AutoCloseMessage" class="opTxt" style="width:100%; align:left;"></div></div></td></tr>';
To:
messBox += '<tr><td><div id="AutoCloseMessage" class="opTxt" style="width:100%; align:left;"></div></td></tr>';
0 -
Maybe we can add PowerSchemes for Windows 8.
1 - We can add inside configwizard_wizards.js
from line 1439
var opt=document.getElementById("PowerSchemes").getElementsByTagName("OPTGROUP");
opt[3].label=getText(lblWindows8);
options[12].text=getText(optBalanced);
options[13].text=getText(optPowerSaver);
options[14].text=getText(optHighPerformance);
options[15].text=getText(optCustom);2 - Inside configwizardtemplate_poweroptions_powerschemes.htm
from line 34:
<optgroup label="Windows8">
<option value="381b4222-f694-41f0-9685-ff5bb260df2e"></option>
<option value="a1841308-3541-4fab-bc81-f71556f20b4a"></option>
<option value="8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"></option>
</optgroup>3 - Add inside lang_en.js:
On line 585:
lblWindows8[lang] = ['Windows 8']
4 - Add inside globals_lang.js:
On line 144:
lblWindows8=[];
Thanks and regards
0 -
Inside wmi.js
Little typo error on line 1624 (missing one \):
Change:
return RegKeyValue("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\AutoLogonCount");
To:
return RegKeyValue("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount");
Thanks and regards
0 -
Thanks Kels!
Yes, this is the best choice:
Regards
0 -
Extract the files using: extract here. Rename the folder as WPI and copy the files inside UserFiles
That's done!.
0 -
Inside configwizard.js
We can change,
On line 850:
Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;
To:
Alert("",getText(txtMustAddCommand),"",3,-1,0,0);
On line 2022:
Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;
To:
Alert("",getText(txtMustAddCommand),"",3,-1,0,0);
Because now works without having 2 ;
Thanks to check if it's OK. Works fine for me.
Thanks and regards
0 -
Thanks Kels!
Inside optionswizardtemplate_tools.htm
We can change on line 42 and 107:
onClick="ConfigUpdated();"
To:
onClick="OptionsUpdated();"
Thanks and regards
0 -
Maybe we can add a scheme HighPerformance about power options for Windows 7.
Inside configwizard_wizards.js
Change from line 1434:
opt[2].label=getText(lblWindows7);
options[9].text=getText(optBalanced);
options[10].text=getText(optPowerSaver);
options[11].text=getText(optCustom);To:
opt[2].label=getText(lblWindows7);
options[9].text=getText(optBalanced);
options[10].text=getText(optPowerSaver);
options[11].text=getText(optHighPerformance);
options[12].text=getText(optCustom);Inside configwizardtemplate_poweroptions_powerschemes.htm
We can add on line 32:
<option value="8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"></option>
Thanks and regards
0 -
Inside the Changelog.txt for the next release, I don't see the Fix about AutoAdminLogon (post #66).
Inside jscript.js
Line 353:
Change:
WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",1,"REG_DWORD");
To:
WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",1,"REG_SZ");
Line 371
Change:
WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",0,"REG_DWORD");
To:
WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",0,"REG_SZ");
Thanks and regards
0 -
Yes. I have the same trouble. No notification by PM or from the forum.
Regards
0 -
Hi @Kel,
finally I translated the manual and fixed a few lines of lang file for better meaning and sync with the manual.. I want to be a supporter as a translator. would I put files here or PM you?
Thanks ZEUS_ for your help and work!
I think the best way is to past your files on the forum.
Cheers and regards
0 -
Tip to solve the problem about order and numbers matching; inside themewizard.js and themewizardtemplate_tooltips.htm
I use this workaround:
Inside themewizard.js
Change:
with (getElementById("TipPositionType"))
{
options[0].text=getText(optLeft);
options[1].text=getText(optCenter);
options[2].text=getText(optRight);
options[3].text=getText(optFixed);
}To:
with (getElementById("TipPositionType"))
{
options[0].text=getText(optRight);
options[1].text=getText(optLeft);
options[2].text=getText(optCenter);
options[3].text=getText(optFixed);
}Inside themewizardtemplate_tooltips.htm
Change:
<td>
<select id="TipPositionType" class="opTextBox" size="1"
onChange="ThemeUpdated();"
>
<option value=1></option>
<option value=2></option>
<option value=0></option>
<option value=3></option>
</select>
</td>To:
<td>
<select id="TipPositionType" class="opTextBox" size="1"
onChange="HandleShowToolTipsSelection(); ThemeUpdated();"
>
<option value=0></option>
<option value=1></option>
<option value=2></option>
<option value=3></option>
</select>
</td>Now, numbers and descriptions matcht.
Tested and works fine for me.
Thanks and regards
0 -
Inside optionswizard.js missing on line 1327:
function UserOptionsDefaults()
DoNotShowIfUSB=true;
Thanks and regards
0 -
Workaround about LayoutStyle and Tooltips Transition on post #118.
Thanks and regards
*Edit: post updated
0
How do I backup my Win7 product key?
in Windows 7
Posted
Yes, the second tokens.dat is about Office 2013.
Useful tool:
Script used for Windows and Office activation info backup and restorin New script released!
Other thread:
http://www.msfn.org/board/topic/157116-how-to-backup-genuine-license-of-windows-7-home-premium/
Regards