
icnocop
MemberContent Type
Profiles
Forums
Events
Everything posted by icnocop
-
WPI 7.8.0 Feature requests.
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Hi again, I would like to request two new global options in wpi: 1. optionally stop running the rest of the commands if a failure was encountered (ex. "1") 2. optionally execute the following command if a failure was encountered (ex. "cmd /c c:\some\path\to\exe parameter1 parameter2") Thank you very much. -
WPI 7.8.0 Feature requests.
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Thank you very much mritter, This is great work! However, I found two (low priority) issues: 1. for this to work with wpi 7.7.0, I had to delete the following line: rs=rs.replace(/%userprofileroot%/gi, userprofileroot); // root of user folders (I figure this is probably something new for wpi 7.8.0) 2. it does not work if the program I want to execute has quotes around it or one of its command line parameters (if there is a space in the name for example). For example, the following command does not work as expected cmd /c "D:\some\path\on\dvd\app.exe" "param1" >c:\app.txt It produces 'D:\some\path\on\dvd\app.exe" "param1' is not recognized as an internal or external command, operable program or batch file. However, if I remove the quotes, it works as expected: cmd /c D:\some\path\on\dvd\app.exe "param1" >c:\app.txt and\or cmd /c D:\some\path\on\dvd\app.exe param1 >c:\app.txt I do not have a long path name just yet, so this work around works great for me, so this may be another request in the future. I also tried testing escaping the quotes like so cmd /c "\"D:\some\path\on\dvd\app.exe\" \"param1\"" >c:\app.txt and cmd /c "\"D:\some\path\on\dvd\app.exe\" \"param1\" >c:\app.txt" but they both produced a similar error as before. Thanks again. -
WPI 7.8.0 Feature requests.
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Hi. Thank you for WPI v7.7.0. I would like to request the ability to redirect the stdout of a command from a console application. For example, if I add the following command taskkill /? >c:\taskkill.txt I would have expected taskkill.txt to contain the stdout of the command "taskkill /?". With v7.7 it seems that the redirection character and filename are interpreted as a command line parameter and causes the console application to not run correctly. (taskkill.txt does not get created) Are there any current work-arounds? Thank you. -
Process1_initialization_failed
icnocop replied to teddy0682's topic in Unattended Windows 2000/XP/2003
tftpd32 as ris + windows share with xp pro files, trying to remotely deploy windows xp pro (without any service packs integrated) on vmware workstation 6.5, but i get a process1_initialization_failed bsod right after the xp setup goes into gui mode. i notice that the remote machine connects to the windows share from the event viewer. Event Type: Failure Audit Event Source: Security Event Category: Account Logon Event ID: 680 Date: 5/11/2009 Time: 1:21:36 PM User: NT AUTHORITY\SYSTEM Computer: AMD64-PC Description: Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 Logon account: Source Workstation: \\192.168.1.100 Error Code: 0xC0000064 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Event Type: Success Audit Event Source: Security Event Category: Account Logon Event ID: 680 Date: 5/11/2009 Time: 1:21:36 PM User: AMD64-PC\Guest Computer: AMD64-PC Description: Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 Logon account: Guest Source Workstation: \\192.168.1.100 Error Code: 0x0 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. 192.168.1.100 is the ip address that the remote machine gets from tftpd32. I have this setup as described in "guide_from_base_install_for_fully_unattended_windows_installs_using_tftpd32.doc". netmon log 1:21:37 PM 5/11/2009 272890 741.314453 192.168.1.100 192.168.1.3 TCP TCP:Flags=......S., SrcPort=1025, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1701493885, Ack=0, Win=64240 1:21:37 PM 5/11/2009 272891 741.314453 192.168.1.3 192.168.1.100 TCP TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=1025, PayloadLen=0, Seq=933292918, Ack=1701493886, Win=16384 1:21:37 PM 5/11/2009 272892 741.319336 192.168.1.100 192.168.1.3 TCP TCP:Flags=...A...., SrcPort=1025, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1701493886, Ack=933292919, Win=64260 1:21:37 PM 5/11/2009 272893 741.336914 192.168.1.100 192.168.1.3 SMB SMB:C; Negotiate, Dialect = PC NETWORK PROGRAM 1.0, LANMAN1.0, Windows for Workgroups 3.1a, LM1.2X002, LANMAN2.1, NT LM 0.12 1:21:37 PM 5/11/2009 272894 741.336914 192.168.1.3 192.168.1.100 SMB SMB:R; Negotiate, Dialect is (#5) 1:21:37 PM 5/11/2009 272895 741.355469 192.168.1.100 192.168.1.3 SMB SMB:C; Session Setup Andx, Account = ބ衑權5; Tree Connect Andx, Path = \\192.168.1.3\RICHARD3, Service = ????? 1:21:37 PM 5/11/2009 272896 741.546875 192.168.1.3 192.168.1.100 SMB SMB:R; Session Setup Andx; Tree Connect Andx, Service = A: 1:21:39 PM 5/11/2009 272897 743.964844 192.168.1.3 192.168.1.100 SMB SMB:R; Session Setup Andx; Tree Connect Andx, Service = A: AMD64-PC is 192.168.1.3 RICHARD3 is the network share My directory structure is as follows: D:\MyRIS\richard3\ (the network share) \$OEM$\$1\Drivers\Nic vmware-nic.cat vmware-nic.inf vmxnet.cat vmxnet.inf vmxnet.sys \DOCS \I386 \pxelinux.cfg default \SUPPORT \VALUEADD AUTORUN.INF mboot.c32 menu.c32 NTLDR pxelinux.0 README.HTM SETUP.EXE startrom.n12 startrom.n12ntdetect.com startrom.n12winnt.sif tftpd32.exe tftpd32.ini WIN51 WIN51IP I've attached winnt.sif, that is equivalent to startrom.n12winnt.sif and \I386\winnt.sif. I've also attached tftpd32.ini. Thank you. winnt.sif tftpd32.ini -
Was this issue ever resolved? I am experiencing the same issue with Windows XP Pro, using tftpd32 as RIS. Thank you.
-
Process1_initialization_failed
icnocop replied to teddy0682's topic in Unattended Windows 2000/XP/2003
Has anyone figured out how to resolve this? I am experiencing the same issue with Windows XP Pro, deployed using tftpd32 as RIS. Thank you. -
New wishlist (7.2.0+)
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Thank you mritter, Sorry it's been a while before a reply. The problem with this approach is that if I stick the CD\DVD in the computer, and launch wpi.hta where the useroptions.js has "Load desktop before install" unchecked (false), it starts installing automatically which is good, but then if a {REEBOT} is required, the desktop won't load after a restart, which is what I want it to do. Any other ideas? Another approach we can take, depending on how feasible it is, is to add a new configuration option to tell wpi to launch another exe instead of sysdir+'\\mshta.exe "'+wpipath+'\\Common\\Installer.hta after a reboot, and in this way, the exe itself can determine if the desktop is loaded or not (using a windows api function for example) and then launch wpi with the appropriate useroptions.js. But this assumes that wpi (wether it be Install.hta or WPI.hta) can be passed useroptions.js when resuming an install after a reboot. Thank you. -
I am having this issue as well. It happens in both WPI v7.2.0 and v7.2.1 Testing on windows xp 32-bit VM with IE6. For example, ProgramA has two commands in cmds[pn]. The first command installs the program and the second command is just {REBOOT}. The program installs correctly and a reboot works fine, but when WPI re-launches after the reboot, I get that js error. Line: 309 Char: 3 Error: 'programs[...].cat' is null or not an object Code: 0 URL: file://D:/WPI/Common/Installer.hta The last items in the WPI window in the background is ProgramA Command 1...Success Command 2...Success But my config.js has several programs after ProgramA. Looking at the WPI log file, I notice it outputs the 2 commands for the next program, having succeeded (the first command installs the program, and the second command is just {REBOOT}). So it seems this is failing on the 2nd {REBOOT} in sequence in config.js. rb_config.js just indicates prb=0; after the two lines of comments. Any ideas? Thank you.
-
Hi. WPI v7.2.1 on Windows XP Pro 32-bit Using LoadDesktopBeforeInstall=false and running a {REBOOT} cmd, WPI will exit and the machine will reboot, but I receive an error during startup: [%windir%\system32\mshta.exe] Windows cannot find '%windir%\system32\mshta.exe'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search. [OK] This is related to installer.js line 187 and line 193. It seems the correct syntax is to use double slashes, like ... %windir%\\system32\\mshta.exe ... Otherwise I'd get a similar error but something weird like %windir\%system32\mshta.exe Anyways, if I comment out those lines and then uncomment the lines above them lines, everything works as expected.
-
New wishlist (7.2.0+)
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Hi. I would like to request a new feature. The problem I encountered is described here: http://www.msfn.org/board/index.php?showtopic=123898 Basically, I would like to have the ability to use the same iso file for unattended installation as well as manually launching wpi from the iso where LoadDesktopBeforeInstall=true. Some suggestions for detecting whether the desktop is already loaded or not: 1. scan for running instance of explorer.exe 2. GetDesktopWindow Windows API call Another suggestion that could meet this requirement is to add another parameter to WPI.hta that can dynamically set this configuration setting. In this way, WPI.hta can run from both the CD\DVD (LoadDesktopBeforeInstall=false in useroptions.js and run without any command line parameters) and from RunOnceEx (by maybe using a "/load_desktop_before_install=true" command line parameter) Thank you very much! -
I am experiencing this limitation yet again and would like to make this a feature request for the next version of WPI. I would like to have the ability to use the same iso file for unattended installation as well as manually launching wpi from the iso where LoadDesktopBeforeInstall=true. Some suggestions for detecting whether the desktop is already loaded or not: 1. scan for running instance of explorer.exe 2. GetDesktopWindow Windows API call Thank you.
-
Hi. Using WPI v7.1.1, in useroptions.js, if LoadDesktopBeforeInstall=true, wpi does not detect if the desktop is already loaded. In this scenario, the first time wpi is launched, the desktop is already loaded, and so wpi will exit but will not relaunch itself until a manual reboot for example. Also in this scenario, if LoadDesktopBeforeInstall=false, the first time wpi is launched, it runs ok, but then subsequent launches (after a %reboot% for example) will launch before the desktop is loaded. Any ideas \ work-arounds? Thank you.
-
WPI 7.0 + Wishlist
icnocop replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Hi. I would like to request some improvements in error reporting wherever there is a try{}catch(ex){}. For example, in WPI_v7.1.1, installer_reboot.js, line 28: alert(getText(NotOpenRebootFile)+"\n"+rebootFile); would be better if it would report the exception details as follows: alert(getText(NotOpenRebootFile)+"\n"+rebootFile + "\nError Number: " + ex.number + "\nError Description: " + ex.description); Thank you. -
Hi John. I am actually using nlite on both Windows XP x32 and x64. On Windows XP SP2 x64, using nlite with a Windows Server 2003 SP2 R2 Enterprise Edition source does not seem to throw any exceptions with v1.4.9.1. But on Windows XP SP3 x32, using nlite with a Windows Server 2003 SP2 R2 Enterprise Edition source seems to throw these exceptions more often than not (about 4 times out of 5). I was hoping not having to use nlite on the same os as the one i'm trying to nlite. (The final cd works fine when an exception is not thrown) I successfully created an nlited XP x32 and x64, and I'm currently working on an nlited Windows 2003 x32, all on Windows XP x64. (There are some nlite independent issues with the unattended Windows 2003 x32 I am working on, but the unattended os installation works just fine) I am sure slipstreaming SP2 on a Windows 2003 source will work fine with nlite, but I am trying to avoid having to keep two copies of the os on my HD (the original, and the one with SP2 slipstreamed) and so I am always starting with SP0 and slipstreaming SP2 using the command line. (It doesn't take too long, and sometimes I need to create a nlited SP0) I am just having a hard time figuring out why these exceptions are being thrown when the files it reports are missing actually exist and why exceptions are not being caught in the source code. Thank you.
-
Here is a different exception that sometimes occurs when using nlite v1.4.9.1 with Windows Server 2003 R2 Enteprise Edition because of what appears to be a missing "sysoc.inf", but SYSOC.IN_ exists in .\I386 (and a SYSOC.INF exists in .\CMPNENTS\R2\PACKAGES\COREBINS\I386 but that is probably not applicable) Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'sysoc.inf'. File name: 'sysoc.inf' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at ..(DirectoryInfo ) at ..(DirectoryInfo ) at .. () at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
-
In the case of Windows 2003 R2 Enterprise Edition, UNATTEND.TXT and SWTCHBRD.BM_ exist in \i386 but I am still getting an exception. I even tried to remove swtchbrd.bmp from the [RemoveFiles] section of the presets file. This Windows 2003 R2 Enterprise Edition source is unmodified.
-
I have tried nlite v1.4.9.1 and it seems to throw this exception even more times than before. I would like to request that nlite catch "System.IO.FileNotFoundException" Exceptions and at least log the error. Both of those files do not exist in my source and they should not be required to exist. Thank you. Here are some more details on the exception that sometimes gets reported: Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'SWTCHBRD.BM_'. File name: 'SWTCHBRD.BM_' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at ..(DirectoryInfo ) at ..(DirectoryInfo ) at .. () at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
-
Hello. Thank you for vlite. I would like to request a feature very similar to nlite where it can run in unattended mode using the command line arguments /preset and /path. For example, vlite.exe /preset:"Windows Vista.ini" /path:"C:\VistaUnattended" I guess one of the prerequisites with this feature request is to allow the EULA to be automatically accepted without having to manually click I agree\accept every time. I am currently using vlite v1.2rc. Thank you very much.
-
Thank you. I am hoping for a solution today\tomorrow. I found some code that looks like it would work in installer.js but after I made the following changes, a %reboot% does not bring installer.hta back up WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\\WPIresume",'mshta "'+wpipath+'\\Common\\Installer.hta"'); // WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\001\\","","REG_SZ"); // WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\001\\1",'mshta "'+wpipath+'\\Common\\Installer.hta"',"REG_SZ"); ... DeleteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\\WPIresume"); //DeleteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\001\\1"); //DeleteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\001\\"); Any ideas for a quick fix? Thanks again!
-
Hello. I am using wpi v7.0 which gets run before the desktop loads (RunOnceEx.cmd). However, I am having an issue when "manually" launching explorer.exe (from the task manager for example, and I would expect the desktop to load), as it seems that explorer.exe just hangs. I am running on windows xp x64 sp2. More specifically, I need to run explorer.exe in order to launch a network connection shortcut (.lnk) on the desktop using an autoit script. During testing, I was not able to get the lnk launched without passing the full path to it as a parameter for explorer.exe. For example: $exe = "explorer.exe" $lnk = @DesktopDir & "\Shortcut to domain.company.local.lnk" ShellExecute($exe, $lnk) I tried to launch (ShellExecute() and Run() also trying to use @ComSpec) the lnk directly, but none of those worked as expected; I either get an error "The parameter is incorrect" or nothing shows up. In task manager, when the autoit script runs, i see "explorer.exe*32" running, but when I go to a command prompt and run explorer.exe, I also saw "explorer.exe" (64-bit) running but both processes seemed to just sit and be idle. Any advice\thoughts\work-arounds? Is there a way to get wpi launched after the desktop loads even after reboots (RunOnce?) instead of the way it currently loads which is before the desktop? Thank you very much.
-
mount udf\dvd iso using command line which filedisk.exe does not suppo
icnocop replied to icnocop's topic in Software Hangout
Great! It works well! Thank you very much!