Jump to content

Martin Zugec

Member
  • Posts

    1,368
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Czech Republic

Everything posted by Martin Zugec

  1. Windows Installer runtime is not included in PE environmnent - but you can repackage installation/copy files manually...
  2. Add your installation server to Trusted sites... Thats all
  3. 2Terrypin: You must run it from cmd using command cscript //nologo RegSize.vbs
  4. What exactly would you like to do?
  5. Simple... [version] signature=$chicago$ [DefaultInstall] UpdateInis=AddShortcut [AddShortcut] setup.ini, progman.groups,, "group1=""Calculator Group""" setup.ini, group1,,"""Calculator"",""%windir%\system32\calc.exe"",,,,%17%"
  6. You must use variable %Errorlevel% (hope so I understand your request)... E.g. If %ErrorLevel% NEQ 0 echo Error during installation of XXX >> %systemdrive%\ErrorInstall.log
  7. 2someuser: You cant make shortcut from batch file - only thing you can do is to create "temporary" script/inf file from batch, call it and delete it after - this is the same technology as Rob used in your link.
  8. WMIC works only for XP Pro... For XP Home create RegSize.vbs with content On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array(".") For Each strComputer In arrComputers WScript.Echo WScript.Echo "==========================================" WScript.Echo "Computer: " & strComputer WScript.Echo "==========================================" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Registry", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) For Each objItem In colItems WScript.Echo "Caption: " & objItem.Caption WScript.Echo "CurrentSize: " & objItem.CurrentSize WScript.Echo "Description: " & objItem.Description WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate) WScript.Echo "MaximumSize: " & objItem.MaximumSize WScript.Echo "Name: " & objItem.Name WScript.Echo "ProposedSize: " & objItem.ProposedSize WScript.Echo "Status: " & objItem.Status WScript.Echo Next Next Function WMIDateStringToDate(dtmDate) WScript.Echo dtm: WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _ Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _ & " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate,13, 2)) End Function
  9. Dont agree - just have a look at SP2 - it is great for average home user and also for corporate deployment... They finally decided that this two market segments are equal. Features in SP2 are easy enough to use for home users, but also have ability for corporate administrators to modify almost everything they need. I also like Feature control - you dont want it? You dont need to use it!
  10. I tried, it is manipulating handles... Quite useful stuff I use Process Monitor (can search for handles) and Handle (cmd stuff) from www.sysinternals.com
  11. 2engjcowi: It is manipulating with handles, right? BTW be careful! If handle is opened by System, you CANT close it (Windows will go to BSOD with message, that kernel handle was closed)
  12. I must agree with Stop, native priorities is what was process designed for... Sometimes it is better to give less priority (I personally have processes InoTask.exe with low priority, it is scheduled AV scanner), but only after LONG testing...
  13. Well... You could create network installation, if you have desktop available...
  14. I am interested in your results - dont forget to let us know!
  15. Little wrong - if you want to find you your registry size, use command wmic registry get currentsize, maximumsize
  16. It IS possible - in action you must use && to chain two commands...
  17. Yep, you can use tool from microsoft, but you must be quite familiar with msi structure... Instead try Masai Editor (www.masaieditor.com)
  18. Have a look at www.nu2.nu, it is called jo.sys
  19. I am using build number as name - I got document (UAChanges.xls), where I write every change I made to my test medium. When there is huge list of changes, I create new build and distribute it to technicians... So my actual CD name is "0007"
  20. I like BitSpirit, try it and report back
  21. For creating menus in dos, have a look at WBAT
  22. Whoa.. I never found nothing inside case (except HW of course )
  23. On your OS CD look for deploy.cab - inside you will find documentation
  24. AutoPartition must be in [Data]. In [unattended] set ExtendOemPartition = 1 FileSystem = ConvertNTFS
×
×
  • Create New...