Jump to content

midiboy

Member
  • Posts

    703
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Austria

Everything posted by midiboy

  1. Hi guys, how does this work on a 64bit system ? Will I have to change everything so it goes to the SysWOW64 folder instead of System32 ? Would it be possible to tell me which parts needs changes ? Thanks a lot ! Alex
  2. Hi elajua, yes. If the Intel Chipset drivers are present in the folder, upon startup one gets a message saying that Windows could not install a critical boot driver. If I remove that driver folder, it works well. I have no idea why this happens with the Intel chipset drivers but it does. All other drivers installed fine, however I did not test all drivers of course, just the ones I need for my pc and a few others. By, Alex
  3. Hi Elajua, yes, it works. Except for some drivers like the INtel Chipset or Raid Drivers. IF those are present in the folder, setup stops with an error message. Other than that I have not found any problem with that feature. Bye, ALex
  4. Hi Kelsenellenelvian, thanks for the infos. Which colors will you be using for the next version ? Would make sense to make the same changes for now ... Thanks, Alex
  5. Hi guys, thanks for the infos ! @cluberti: I am not very good with vbs so I will stay with cmd for the time being but thanks for the info! @mritter: Thanks, looking forward to the new version ! Bye, Alex
  6. Hi ! Tried the new Vista theme. Looks great ! However, as you can see in the screenshot, the default colours are not very distinguishable from the new background image. Especially the white text at the bottom of the screen and the yellow items on the lower left are extremely hard to read. Can this be changed anywhere as a workaround ? Could the default be changed for the next version ? Thanks, Alex
  7. Hi again, just found this: How to detect process bitness Seems like one has to use this command: IF /i %PROCESSOR_ARCHITECTURE% == AMD64 goto Vista64 IF DEFINED PROCESSOR_ARCHITEW6432 goto Vista64 edit: Had to change the code around a number of times because it didn´t work in all situations. There are: 32bit OS, 64bit OS and 64bit OS with 32bit cmd.exe (WOW). Anyway works now !
  8. Hi! I today finally found the reason why my 64bit OS checks in a cmd never worked during an unattended installation while they work fine if I test them manually. Here´s what I am doing: I have this check somewhere in a cmd: if /I %PROCESSOR_ARCHITECTURE% EQU AMD64 goto Vista64 This works fine if I manually start the cmd on a 32 bit or 64 bit OS. Now, if WPI starts the cmd on a 32 bit Windows, it still works fine, but if WPI starts the cmd on a 64 bit Vista, then you can see the result in the screenshot below. WPI starts the 32 bit cmd.exe in the sysWOW64 directory and this cmd.exe will echo x86 as a result to the above command, making the script fail because the wrong files are executed. Now, I realize this may not be a bug but a feature since WPI is a 32 bit app, it may not be possible for it to see or start the 64 bit cmd.exe (Don´t know about that but it would be a logical explanation). My question is: Is there any other way to solve that problem, meaning, have a command check for the version of the OS regardless of the bit level of the cmd running the script ? Or can WPI be changed so that it uses the 64 bit cmd.exe on a 64 bit OS automatically ? Any ideas would be most welcome ! Thanks for your help ! Alex
  9. Hi again ! Answering my own topic because I found a workaround. I created a cmd which starts Wpi.hta this way: @echo off if exist "%windir%\system32\cmdow.exe" (cmdow @ /HID) else if exist "%windir%\cmdow.exe" (cmdow @ /HID) cd /D %~dp0 set WPI="\\share" if exist %WPI% pushd %WPI% start "" /wait wpi.hta check=None timer=3000 popd exit Then, I wrote a manifest file (see above post) and named it WPI_Installer.exe.manifest Then I used one of those cmd to exe programs (in my case QuickBFC) to turn the cmd into an exe and named the exe WPI_INstaller.exe. I added the manifest file to the build (the program allows to pack additional files to the exe). Now, when I doubleclick on the WPI_Installer.exe on Vista it asks for elevated rights, then it starts WPI using the above options. It would be nice though if WPI could have a commandline option to start it using elevated rights directly without the above workaround ! Thanks, Alex
  10. Hi ! I would like to call WPI without any timer present and with a specified resolution. However I would like to keep the useroptions.js file the way it is (where timer and resolution are already specified differently). Any way to do this with commandline options etc. ? I tried timer=off or timer=0 but it does not work and I did not find a way to set the resolution in a special way too. Thanks for your help ! Alex
  11. Hi ! Does anyone know how to make wpi.hta ask for elevated rights in Vista upon startup? I know there has to be a manifest file next to the program file that contains something like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> <v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3"> <v3:security> <v3:requestedPrivileges> <!-- level can be "asInvoker", "highestAvailable", or "requireAdministrator" --> <v3:requestedExecutionLevel level="highestAvailable" /> </v3:requestedPrivileges> </v3:security> </v3:trustInfo> </assembly> It should be called the same as the program so in this case it should probably be called wpi.hta.manifest but this does not work. Probably because the program is actually mshta.exe. I would like to avoid placing a manifest into the %windir% folder were mshta.exe probably resides because that would then cause all hta files to ask for elevated rights. Any other way ? Thanks, Alex
  12. Hi DarkShadows, thanks for that guide! Works well on WinXP. (except for the Microsoft Update Catalog which seems to have a new version up). However, I recently switched to Vista and now I tried to run parts of your installation on Vista (only MU, OGA and MS Update Catalog) since Windows Update and WGA is altready part of the OS). It all installs fine (no error messages) but I found the following: 1. Microsoft Update seems to work but when opening the MU website one has to acknowledge the license again although I did this before grabbing the datastore.edb (and it works on XP). I even grabbed the datastore.edb again from a Vista PC but it seems the relevant info is not stored there (anymore). 2. OGA seems to be installed fine (shows up in "%windir%\Downloaded Programs") and I verified it is the latest version 1.6.28.0 but when trying to download an OGA protected update, IE insists on installing the activeX update again. 3. Same goes for the Microsoft Update Catalog but that goes for WinXP as well. Maybe it is just a small thing thats different when installing on Vista. At least it installs fine. If you (or anyone else) have some time ... ? Thanks, Alex
  13. Hi ! Tested the above workaround -> works ! Thanks! I guess this will be in the next WPI version so I won´t have to change this again after an update ? :-) Thanks for your help ! Alex
  14. Hi ! Will try that, thanks ! Ah, and you may exclude that for Windows Server 2008 as well, not just Vista while you are at it :-) Thanks for your help ! Alex
  15. Hi zorphnog! No, no nlite. I am not doing anything to the Vista install.wim. It is straight from a Vista + SP1 image (from MSDN). The only difference is, I am running the installation from WDS (Windows Deployment Services). If I take the same image, the same scripts (setupcomplete.cmd and all the WPI scripts) and run them "normally" from a DVD, WPI starts fine even though it is called from the network the same way. So the difference in working vs. non working is WDS vs DVD installation. But since the error only occurs when calling wpi.hat, it must be related to that as well somehow ? No ? I don´t know, I used to write that script at a time where I obviously didn´t know and since it is working well I never touched it. I can try with commandline, maybe it helps with the error but I doubt it ... Thanks for your help, Alex
  16. Hi Kelsenellenelvian, thanks for your quick reply. This is what I am doing during startup: set zone=domain.local set share=\\domain.local\shares\AIW set username=domain\AIW_Installer set password=pw set WPIconfig=path_to\config.js set WPIoptions=path_to\useroptions.js set WPIfolderNetwork=path_to\WPI FOR /f "usebackq tokens=2" %%i IN (`net use * %SHARE% %PASSWORD% /user:%USERNAME% /PERSISTENT:NO^|find ":"`) DO SET DRIVE=%%i ping -n 2 127.0.0.1>nul if exist %DRIVE%\AIW_Base goto servermode :servermode REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "file" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "file" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "http" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "http" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "https" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "https" /T "REG_DWORD" /D "1" /F REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap" /V "AutoDetect" /T "REG_DWORD" /D "0" /F REG ADD "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap" /V "AutoDetect" /T "REG_DWORD" /D "0" /F REG LOAD "HKU\CUSTOM" "%SystemDrive%\Users\Default\NTUSER.DAT" REG ADD "HKU\CUSTOM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "file" /T "REG_DWORD" /D "1" /F REG ADD "HKU\CUSTOM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "http" /T "REG_DWORD" /D "1" /F REG ADD "HKU\CUSTOM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\%ZONE%" /V "https" /T "REG_DWORD" /D "1" /F REG ADD "HKU\CUSTOM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap" /V "AutoDetect" /T "REG_DWORD" /D "0" /F REG UNLOAD "HKU\CUSTOM" IF EXIST "%DRIVE%\%WPIconfig%" REG ADD "HKCU\Software\WPI" /V "ConfigFile" /D "%DRIVE%\%WPIconfig%" /F IF EXIST "%DRIVE%\%WPIoptions%" REG ADD "HKCU\Software\WPI" /V "OptionsFile" /D "%DRIVE%\%WPIoptions%" /F start "" /wait "%DRIVE%\%WPIfolderNetwork%\WPI.hta" The first part sets the various variables. Then, I am checking for the availability of the share and mount it as a drive. Afterwards I am adding the domain to the intranet Zone so that I don´t get popups asking if the file is ok to install. Then I am adding the WPI config and Options file to the registry Then I am starting WPI from the network folder. Everything is working fine, except for WPI showing that error message at the beginning, then it continues fine and all apps are getting installed. The whole script is started from the setupcomplete.cmd by the way so UAC should not be a problem. I also checked the registry while the error appears. There is no "HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath" entry in the registry. Any ideas ? Thanks, Alex
  17. Hi guys, has anyone come across this error yet ? I have started WPI over the network during a Vista WDS installation. After WPI.hat has been called an error appears telling me that a script error has occured during execution. Since the error message is in german here´s the translation of the error: Registry Key "HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath" was not opened for reading. If I click on "yes" to continue, everything runs fine. I had a look at row 90 of the wpi.hta because that was specified in the error message but could not even relate the code there to the error message. Any idea ? Thanks for your help, Alex
  18. Hi ! Thanks, elajua for the xml. Do you mean that during FirstLogonCommands you cannot apply registry tweaks or UAC will kick in ? Is this normal in OOBE System phase ? Thanks, Alex
  19. Hi guys, I am trying to get unsecureJoin zu work. But it does not. The xml contains this code: <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identification> <JoinWorkgroup></JoinWorkgroup> <JoinDomain>test</JoinDomain> <UnsecureJoin>true</UnsecureJoin> </Identification> </component> This is the setupact.log entries in the unattendgc folder of the Windows\panther folder: [unattendedjoin.exe] Unattended Join: Begin [unattendedjoin.exe] Unattended Join: Loading input parameters... [unattendedjoin.exe] Unattended Join: UnsecureJoin = [true] [unattendedjoin.exe] Unattended Join: MachinePassword = [secret not logged] [unattendedjoin.exe] Unattended Join: JoinDomain = [test] [unattendedjoin.exe] Unattended Join: JoinWorkgroup = [] [unattendedjoin.exe] Unattended Join: Domain = [NULL] [unattendedjoin.exe] Unattended Join: Username = [NULL] [unattendedjoin.exe] Unattended Join: Password = [secret not logged] [unattendedjoin.exe] Unattended Join: MachineObjectOU = [NULL] [unattendedjoin.exe] Unattended Join: DebugJoin = [NULL] [unattendedjoin.exe] Unattended Join: DebugJoinOnlyOnThisError = [NULL] [unattendedjoin.exe] Unattended Join: Checking that auto start services have started. [unattendedjoin.exe] Unattended Join: Joining domain [test]... [unattendedjoin.exe] Unattended Join: Calling DsGetDcName for test... [unattendedjoin.exe] Unattended Join: DsGetDcName returned [dc1] [unattendedjoin.exe] Unattended Join: Constructed domain parameter [test\dc1] [unattendedjoin.exe] Unattended Join: NetJoinDomain attempt failed: 0x6fb, will retry in 5 seconds... ..... ..... [unattendedjoin.exe] Unattended Join: NetJoinDomain failed error code is [1787] [unattendedjoin.exe] Unattended Join: Unable to join; gdwError = 0x6fb [unattendedjoin.exe] Unattended Join: Exit, returning 0x0 Is there something else I have to do to make this client join the domain unattendedly without having to specify username and password in the autounattend.xml ? I also tried creating a computer account in the computers OU in "AD Users and computers" first (but without specifying a GUID). This did not work either. The errorcodes in the log were a bit different but it still did not work. Could you please help me out here ? Thanks a lot for your help ! Alex
  20. Hi MC, hi elajua, yeah I know that I can use any xml from a previous Vista RTM installation with Vista SP1 THEORETICALLY In reality, this will lead to interactive logon errors and broken installations if audit mode is being used as it is recommended in the guides here on MSFN and other sites. See this thread for details. @elajua: Yeah, please post your working xml if possible. If you do not use audit mode, in which mode do you install applications etc. ? Thanks, Alex
  21. Hi Wabaunza, any news on this from MS ? I did some more tests. It works in Windows Vista Ultimate if I use the /generalize switch after audit mode as you suggested. However, I cannot use that because I am running a script in Windows PE (before setup starts) that will ask for the Computer name and then adds that value to the unattend.xml in the C:\Windows\panther directory (thats where Setup copies the autounattend.xml) where I have a variable %COMPUTERNAME%. I read about this trick in a Microsoft forum somewhere (cannot find it anymore). Now, if I use the /generalize switch, that name will be reset again and Setup will stop again during OOBE pass to ask for the key. Unless there is a way to somehow transfer the computername from the first passes to OOBE pass during generalisation I cannot use /generalize. Anyway, thanks for your help, Alex
  22. Hi elajua, could you post your autounattend.xml please ? Did you use the new WAIK 1.1 to create your new unattend file for the Vista Ultimate SP1 DVD or the old WAIK ? Are you using Audit mode ? We are having a few problems with Audit mode and the product key in this thread thats why we would be very curious how you did it Thanks a lot ! Alex
  23. Hi Kelsenellenelvian, thanks for that info. Will try that. bye, Alex
  24. Hi guys ! I would need to know how WPI works in respect to reading it´s config/thems etc. files from RAM or HD/DVD. The reason why I ask is, I would probably have to switch DVDs while WPI is running from DVD. All the config files are on DVD 1 , as is the WPI program folder. If I now switch DVD to a second DVD where no WPI folder is present, will that crash WPI or will it already have all of its files in memory ? How do you guys cope with such a situation ? Thanks for your help, Alex
×
×
  • Create New...