Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content Count

  • Donations

  • Joined

  • Last visited

Everything posted by shorterxp

  1. SOLVED: For solution skip to this post here Hi, Would like some pointers about RunOnce stage. I cannot fathom why RunOnce wont install this SFX.exe. Its tedious having restart clean boots just to troubleshoot this. A particular app refuses to install (no error given) even though the exe itself works OK if run (manually) after the RunOnce procedure completes (i.e after the desktop shows).. With manual execution it installs as intended. Its a SFX archive, in a directory on the install media. The other SFX executables in that directory work fine also. Few possibilities: Is there a limit on the number of commands NLITE.CMD can make at RunOnce? Maybe XP does not like SFX packed with the latest WinRAR? Edit: I repacked SFX with older 2006 version of WinRAR. Issue persists. Perhaps daemon installer within the SFX seeks a directory that doesn't exist until complete login (i.e. when task bar appears)? Heres the example NLITE.CMD (the very last stage of unattended). @ECHO OFF for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i %SOURCE%\AUTOADD\QL.exe %SOURCE%\AUTOADD\TCPO.exe %SOURCE%\AUTOADD\PowerMenu.exe %SOURCE%\AUTOADD\DreamAquarium.exe %SOURCE%\AUTOADD\SV.exe %SOURCE%\AUTOADD\CoreTemp.exe %SOURCE%\AUTOADD\SumatraPDF.exe %SOURCE%\AUTOADD\DaemonTools.exe @ECHO Please Wait as MS Office is Installed... @ECHO OFF %SOURCE%\OFFICE2003\SETUP.EXE TRANSFORMS="UNATTENDED.MST" /qn %SOURCE%\OFFICE2003\O12Conv.msi %SOURCE%\OFFICE2003\Activate.exe %windir%\system32\cmd.exe /C "START RunDll32.exe shell32.dll,Control_RunDLL desk.cpl,,3" EXIT Really would like daemon integrated into unattended. If all else fails, I will have to instruct users to install it manually instead. (love this forum btw - it's really quick).
  2. To avoid even bigger choclate coated banana, here is the situation / requirement Ideally, a single executable (thats beside relevant .iso) of which does the following when clicked: - mounts iso to virtual drive - launches the autorun.exe on the newy created virtual drive. This is so to aid users who may be unfamiliar with how to use archive software / have necessary space to unpack the 8gb iso and/or may not know how to mount virtual drive. A exectuable downloaded alongside the iso makes for a more intuitive experience. The autorun inside the iso guides the player with the remainder of the installation. The content is only ever officially distributed as an .iso, which is why I though this would be a good idea. My current, working, though not ideal solution involves Imdisk_custom.exe (as seen 2nd previous post) in the same directory as the iso, as well as a batch script beside that. Although Imdisk installs perfectly, it would need to be manually uninstalled - this is ok. There is however the small annoyance of two seperate files, now next to the .iso. A single .exe would be better. I propose a SFX self extracting archive with slimmed down verison of the original 7z archive contents, that 1) installs imdisk, 2) mounts the iso 3) runs autorun in one single instance - However the SFX extracts the batch script to temp folder, which of course is no longer in the same directory as the .iso, so I ask if there is a way to pass the launch directory on to the script. In other words, If example.iso and example_sfx.exe (latter of which does steps 1,2,3), are in C:/example_folder, and example_sfx.exe is launched, is there a way for the script now in a sfx temp folder / orphaned from the iso, to query (and use) initial launch directory, in this example "C:/example_folder"? For example: [...] %windir%\system32\ImDisk -a -m Z: -f %Mystery_Launch_Dir_variable%\prbf2_1.5.0.0_full.iso Z: START "" autorun.exe Perhaps source_path or start_path is a better descriptor. An interesting aspect of SFX, which may be related is the sfxcmd variable. Perhaps this can be used in target script? Regarding filedisk: Both these are true. Modifying the IMDisk install.inf as you suggest in order to avert installation is daunting to me, so I might try filedisk too if its suitable. I note Filedisk v15 readme states reboot is required and files to be placed in sys32 so maybe it isn't suitable? Thanks for the help
  3. Is it possible to run imDisk standalone? i.e. run the VirtualDisk Service temporariliy without incurring installer, nor the need to run service at startup?
  4. For some reason 'Mount with IMDisk Virtual Disk' appears on all files in explorer, even irrelevant ones like cmd. Expunge the following registry key to prevent this. HKEY_CLASSES_ROOT\*\shell\ImDiskMountFile Here is my silent repack with this fix included: OneDrive (761kb). It's a SFX archive. and yes Chocloate banana is a habit I must admit. Thank you for your invaluable assistance once again//
  5. Ok, I uninstalled SPTD rebooted the OS and installed IMGDisk alone and it seems to work without SPTD. This is so much easier, I cannot believe people recommend to use SPTD + Daemon when IMGDisk does it off the bat without messing around with drivers at Unattended. In hindsight so much time was wasted making a silent Daemon installer (i.e. post #1) -.-
  6. thanks ! i'll try those out
  7. It's to Mount an .iso image
  8. Hi, Is there an easy way to "track" services behaviour at log on for windows XP? I installed a ethernet device driver, upon reboot + logon (and everyone subsequent logon) explorer loads however majority of windows stuff refuses to open (some non .net apps can). Things like Device manager, network connections, control panel, won't open for circa 2minutes. I suspect that a service which is supposed to run at startup impdes the usual logon sequence. Is there a tool out there that can monitor the sequence? FYI: It's definately the ethernet driver that does it because upon fresh install of XP (which takes but a minute) everything works as expected until IT alone is installed. Even after uninstall, the hang persists. Trried both manual installation of the driver via device manager and the provided installshield package, both lead to the same end. Cheers fellas EDIT: problem goes away if I Disable the connection in Network Connections (or device in device manager). Very strange
  9. Is anyone familiar with this bug and if so, how do you approach it? For anyone interested: the bug occurs when one installs .NET framework 4.0 on clean XP SP3. Apps at log on are delayed for 2minutes on the first reboot after installing 4.0 and occurs everyboot thereafter until 4.0 is otherwise uninstalled). In a pre-made image of XP, available on the web, there is described a feature called "F4SBF Patch v2.0" which supposedly fixes this. I don't want to link to the page due to forum policy. I'm curious what this update entails. References https://rejzor.wordpress.com/slow-windows-xp-startup-fix/ https://social.msdn.microsoft.com/Forums/vstudio/en-US/cb75c4dc-e0af-4b22-85b2-c2c1b08bfea1/why-does-net-framework-4-client-profile-slow-down-boot-time-network-creation
  10. Update: I managed to track down the patch, here is the code that supposedly fixes the bug. Not tried it yet. ' [ MS .NET Framework 4 - WinXP Slow Boot Fix v3.1 ] ' This Script will fix silently in the background a Microsoft .NET Framework 4 bug that causes a slow Windows XP boot up. ' This Microsoft .NET Framework 4 bug can occur, for example when reinstall Microsoft .NET Framework 4 or when installing new Microsoft .NET Framework 4 Updates. Set objShell = CreateObject("WScript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") ExeFile = objShell.ExpandEnvironmentStrings("%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe") If (objFSO.FileExists(ExeFile)) Then objShell.Run Chr(34) & ExeFile & Chr(34) & "eqi", 0, false End If WScript.Quit It's a .vbs script.
  11. Does anyone have a mirror of those Hotfixes please?. I'd like to slipstream them in a recent nlite install. In any case, I'm curious if when these are present on systems running on non-target motherboards, if they will cause problems or not.
  12. Can you suggest a lightweight alternative to daemon tools ?
  13. Hi, I'd really be interested by input from anyone inclined in networking here... I have an online multiplayer game that won't connect. Web browsing works but when it comes to said game, there is a problem underlying somwhere. Game implimentation has been ruled out. [ Edit: and so has ISP ] making it a hardware / software / OS configuration issue., The game (.exe) starts a main menu visible on the desktop. Its a visual studio affair (2012). One of the buttons is 'Play' which, normally should initate fullscreen mode, inside is the server browser etc. Upon clicking Play on the main, external menu, theres two stages, file verification followed by connection to master server, should it pass verfication. Verification prevents cheats. I tested two XP SP3 variants, nlited and full fat. On nlited OS, 1301 is thrown instantly after clicking play (fig.1) contrast to Fullfat where a brief pause ensues, followed by error 995. fig. 1: running nlite OS, 1301 is returned instantly after clicking Play on main menu. fig.2 running full-fat, un-modified OS, this is shown briefly first... then folowed by fig.3. fig.3 Some Info collected about Error 995. Might help. source and source This app is a .NET build so it could related to .NET. I have installed all .net and it doesn't seem to have changed anyhting. UPDATE 2019 I have tried an entirely different chipset/motherboard and the problem still persists, a surprise to me as I though it was perhaps a hidden nforce firewall (clearly it isn't). To re-iterate, OS is not the cause because it occurs in both full fat vs nlite XPSP3, in each case the problem manifest slightly differently but the end result is ultimately the same. no connection. The main connection is a wireless adapter USB dongle, which subsequently connects to a 'public' hotspot. Thankfully I as able to rule out the hotspot (and ISP and any potential firewalls therein) as the cause because I connected to an alternative hotspot, more specifically, a smart-phone acting as a 4G hotspot. So if it isn't the ISP and symptoms show in full fat XP, then it can only be hardware / software configuration issue... I'd really be interested by input from anyone inclined in networking. I have attached IPconfig report (below) might help? I heavily suspect the USB WIFI dongle. Its not a 'physical' ethernet connection, which is what games usually expect. However that isn't no say I haven't connected via Wireless in the past to play this game though. Host Name . . . . . . . . . . . . : win Primary Dns Suffix . . . . . . . : DNSwin Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No <------------ Is this normal? WINS Proxy Enabled. . . . . . . . : No <------------ Is this normal? DNS Suffix Search List. . . . . . : DNSwin Ethernet adapter Local Area Connection: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : Realtek PCIe FE Family Controller Physical Address. . . . . . . . . : B8-97-5A-2F-87-EF Ethernet adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : TP-LINK Wireless USB Adapter Physical Address. . . . . . . . . : 50-3E-AA-57-FF-1D Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . : DHCP Server . . . . . . . . . . . : DNS Servers . . . . . . . . . . . : Lease Obtained. . . . . . . . . . : 11 January 2019 19:09:44 Lease Expires . . . . . . . . . . : 11 January 2019 19:24:44 Also unclear is whether its normal for the "Network Address" field to be blank? Its in advanced settings tab of the physical Ethernel in Device Manager.
  14. shorterxp

    Error 995: Anybody familiar, how to fix?

    Updated Post #1
  15. Hi jaclaz For 'users' curiosity, see end of post. While that thread is related, the problem described here is separate. To put the problem visually: Attempt 1 Unattended procedure Reboot NLITE.CMD calls other SFX - all of them work NLITE.CMD calls Daemon_SFX.exe: FAIL Taskbar appears / Unattended procedure complete Outcome: Daemon not installed without user input Attmept 2 Unattended procedure Reboot NLITE.CMD calls other SFX - all of them work Taskbar appears / Unattended procedure complete Manual execution of Daemon_SFX.exe*: OK Outcome: Daemon installed but with user input *file is in same directory as previous. The only apparent difference is the chronology of taksbar, which marks the end of NLITE.CMD and unattended setup. MHZs may work but I was less familiar on how to apply it. For me, installing SPTD via cmdlines.txt (t12) and then daemon.exe via NLITE.CMD with the usual reboot in between was simpler (except for this SFX which now won't install automatically - goddamnit!). users: I may distribute my XP install amongst my peers to satisfy a small project. If daemon won't install without user input then I could put a shortcut to the package on the desktop in order for users to install it manually. I could also use MHZ method but I'm curous about why my mehod doesn't work.
  16. It's evident now why the AutoIT script is needed. I wasn't aware. 4.08 allows silent install but comes with adware, where as earlier verisons don't come with adware but don't allow silent install. Typical. Nevertheless I insisted on silent DT installer for 3.46 using AutoHotKey script. Heres a footprint comparison of both options. AutoIT script (800 kb) DT 4.09 Installer (1.7 mb) AutoHotKey Script (180 kb) DT 3.46 Installer (497 kb) shorterxp Silent DT Installer (SFX archive). Autorun and virtual drives are disabled upon installation. To mount, daemon needs to be run and virtual drives needs to set to 1.
  17. Hi, After some thinking, it seems there is 3 ways of doing this. I note order of SPTD and Daemon is important. M1) AutoIT script to check driver presence before installing driver package. M2) Add driver installer to i386/SVCPACK and adding a line to SVCPACK.inf under [Hotfixes to run]. Then Run DT at RunOnce / NLITE.cmd M3) Run driver installer at cmdlines.txt silently. Then run DT at RunOnce / NLITE.cmd Given my own custom install will not have driver present (I can't think of a scenario where it would be already, given he who develops unattended install is in control of such things). I'm not familair with SVCPACK.inf, method 3 is proably the easiest for me... Does anyone object with 3, instead of 2, or 1. Any potential problems? It should work in any scenario (ignoring the scenario M1 addresses - pre-existence of SPTD.sys) Thanks
  18. On occasion the power in my house goes out as I am on pre payment meter. Loss of power resets the BIOS time, consequently so is the time in Windows. Is there a way to make windows time static / independant of the BIOS time?
  19. shorterxp

    Force windows to ignore Bios clock?

    thanks fellas
  20. shortcut.exe is a small utility developed by optimumX that can create shortcuts. I have tried a billion combinations from cmd,exe (XP 32bit) and cant figure out the problem. Any suggestions welcome. shortcut /t:"%USERPROFILE%\Start Menu\Programs\folder\file.lnk" /a:c /f:"%PROGRAMFILES%\program\file.exe" /w:"%PROGRAMFILES%\folder.exe" System error 3 has occured The developer suggested I try double quotes: (didn't work either). shortcut /t:""%USERPROFILE%\Start Menu\Programs\folder\file.lnk"" /a:c /f:""%PROGRAMFILES%\program\file.exe"" /w:""%PROGRAMFILES%\folder.exe"" The parameter 'and' is invalid The documentation: Shortcut [Version 1.11] Creates, modifies or queries Windows shell links (shortcuts) The syntax of this command is: Shortcut.exe /F:filename /A:C|E|Q [/T:target] [/P:parameters] [/W:workingdir] [/R:runstyle] [/I:icon,index] [/H:hotkey] [/D:description] /F:filename : Specifies the .LNK shortcut file. /A:action : Defines the action to take (C=Create, E=Edit or Q=Query). /T:target : Defines the target path and file name the shortcut points to. /P:parameters : Defines the command-line parameters to pass to the target. /W:working dir : Defines the working directory the target starts with. /R:run style : Defines the window state (1=Normal, 3=Max, 7=Min). /I:icon,index : Defines the icon and optional index (file.exe or file.exe,0). /H:hotkey : Defines the hotkey, a numeric value of the keyboard shortcut. /D:description : Defines the description (or comment) for the shortcut. Notes: - Any argument that contains spaces must be enclosed in "double quotes". - If Query is specified (/A:Q), all arguments except /F: are ignored. - To find the numeric hotkey value, use Explorer to set a hotkey and then /A:Q - To prevent an environment variable from being expanded until the shortcut is launched, use the ^ carat escape character like this: ^%WINDIR^% Examples: /f:"%ALLUSERSPROFILE%\Start Menu\Programs\My App.lnk" /a:q /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:c /t:^%WINDIR^%\Notepad.exe /h:846 /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:e /p:C:\Setup.log /r:3 An argument of /? or -? displays this syntax and returns 1. A successful completion will return 0. Copyright 2000-2005 Marty List, www.OptimumX.com
  21. Is this possible? The only info I found was here, the first script doesn't work and the second makes no sense: https://forums.windowssecrets.com/showthread.php/113953-Yes-No-Batch-file-(XP-SP2) I would like to create a CMD that prompts user y / n question with goto in place. But automatically continue as soon as input is detected (contrast to waiting for another ENTER press to finish). As it stands: @echo Log off + log in to complete installation! SET /P _inputname= Log Off now?: IF "%_inputname%"=="Y" GOTO :Y GOTO :end :Y cmd.exe /c c:\windows\system32\logoff.exe :end
  22. I could have googled that myself :dow: To clarify: robvanderwoude.com the choice example, using choice.exe did not work as desired. The example on wikipedia, also ussing choice.exe, did work.
  23. echo ramdisk| convert f: /fs:ntfs /x That formats hard drive?