Jump to content

Please vote: Vista/Win7/Win8 UAC support poll


  

15 members have voted

  1. 1. How to make WPI support UAC?

    • Disable UAC before reboot and re-enable it after reboots
      9
    • Maintain UAC always on and remove the incompatible LoadDesktopBeforeInstall option
      3
    • I don't know, but I like turtles!
      3


Recommended Posts

Tested using the fix you gave inside core.js and installer.js , but the result using Oracle VM VirtualBox is the same.

WPI_Log.txt

Fichier journal de l'installation WPI

Début de l'installation: vendredi 10 août 2012 13:57:17

Information WPI:
Version=8.5.4
Exécutable utilisé=true
Version d'Internet Explorer=9.0

Connexion Internet=false

Système d'exploitation
Système d'exploitation=Not found
ID Edition=Not found
Service Pack=1

Regards

Edited by myselfidem
Link to comment
Share on other sites


and in wpi.hta and core.js it's


if (getOSver()=="XP" || getOSver()=="Vista" || getOSver()=="Win7" || || getOSver()=="Win8")

When I made this changes there is errors, but not using: (using only one ||)

if (getOSver()=="XP" || getOSver()=="Vista" || getOSver()=="Win7" || getOSver()=="Win8")

Regards

Link to comment
Share on other sites

The strings for windows server 2012 (and 2008R2) are missing among with all the server 2012 and win8 editions. Also there isn't any exposed function to use the edition in conditions (should be getOSeditionID).

Edited by Francesco
Link to comment
Share on other sites

  • 2 weeks later...

WFM:

Operating System

Operating System=Win7

Edition ID=Not found

Service Pack=1

Architecture

Architecture Name=AuthenticAMD

Architecture Name String=AMD Phenom™ II X6 1100T Processor

Architecture ID=AMD64 Family 16 Model 10 Stepping 0

Number Of Processors=6

MHz=3300

Architecture Type=AMD64

SysArch6432=NOT_DEFINED

Architecture Bits=64

True 64 Bits=true

To obtain EditionID (Is CurrentBuildNumber, isn't it?), I made some changes inside:

wmi.js (adding at first)


function getOSeditionID()
{
position="wmi.js";
whatfunc="getOSeditionID()";

try
{
return WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber");
}
catch(ex1)
{
}
return NOT_FOUND;

Adding also inside: information.js

ConditionsGrid.addRow(gId++,'getOSeditionID()=="'+getOSeditionID()+'"');

Works fine for me:

WPI_Log.txt


Fichier journal de l'installation WPI

Début de l'installation: mardi 28 août 2012 19:27:30

Information WPI:
Version=8.5.8
Exécutable utilisé=true
Version d'Internet Explorer=9.0

Connexion Internet=true

Système d'exploitation
Système d'exploitation=Windows 7 Ultimate
Version du Système d'exploitation=6.1
ID Edition=7601
Service Pack=1

Ragards

Edited by myselfidem
Link to comment
Share on other sites

WFM:

Operating System

Operating System=Win7

Edition ID=Not found

Service Pack=1

Architecture

Architecture Name=AuthenticAMD

Architecture Name String=AMD Phenom™ II X6 1100T Processor

Architecture ID=AMD64 Family 16 Model 10 Stepping 0

Number Of Processors=6

MHz=3300

Architecture Type=AMD64

SysArch6432=NOT_DEFINED

Architecture Bits=64

True 64 Bits=true

To obtain EditionID (Is CurrentBuildNumber, isn't it?), I made some changes inside:

wmi.js (adding at first)


function getOSeditionID()
{
position="wmi.js";
whatfunc="getOSeditionID()";

try
{
return WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber");
}
catch(ex1)
{
}
return NOT_FOUND;

Adding also inside: information.js

ConditionsGrid.addRow(gId++,'getOSeditionID()=="'+getOSeditionID()+'"');

Works fine for me:

WPI_Log.txt


Fichier journal de l'installation WPI

Début de l'installation: mardi 28 août 2012 19:27:30

Information WPI:
Version=8.5.8
Exécutable utilisé=true
Version d'Internet Explorer=9.0

Connexion Internet=true

Système d'exploitation
Système d'exploitation=Windows 7 Ultimate
Version du Système d'exploitation=6.1
ID Edition=7601
Service Pack=1

Ragards

CLOSE but not quite:

 


WPI information:
Version=8.6.0
Used launcher=true
Internet Explorer version=8.0
Internet Connection=true

Operating System
Operating System Version=6.1
Operating System=Win7
OS Current Build=7601
Edition ID=Ultimate Edition
Service Pack=1



See what I have manged to do there? (You put me on the right track though!)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...