Jump to content

DMX

Member
  • Posts

    24
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Israel

Posts posted by DMX

  1. i get an installshield error during guirunonce installation of diskeeper 8 professional on virtual pc

    "Failed to extract file 'DLL_ini' from binary table."

    has anyone epirienced this error before or knows what causes it?

    ECHO Installing Diskeeper 8.0.459 Professional...
    start /wait  %systemdrive%\install\Applications\Diskeeper8\DK8PE.msi /QN

  2. exporting large binary values with vbs scripts is rather difficult so the simple solution i have is to silently export this reg file with a script like so

    ----------------the reg file------------------------

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\MS Exchange-Einstellungen]

    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\MS Exchange-Einstellungen\0a0d020000000000c000000000000046]
    "1102032f"=hex:01,00,00,00,75,00,00,00,0c,00,00,00,00,00,00,00,38,a1,bb,10,05,\
     e5,10,1a,a1,bb,08,00,2b,2a,56,c2,00,00,45,4d,53,4d,44,42,2e,44,4c,4c,00,00,\
     00,00,00,00,00,00,1b,55,fa,20,aa,66,11,cd,9b,c8,00,aa,00,2f,c4,5a,0c,00,00,\
     00,53,41,47,53,52,56,31,00,2f,6f,3d,44,53,43,20,53,6f,66,74,77,61,72,65,20,\
     41,47,2f,6f,75,3d,44,53,43,53,41,47,2f,63,6e,3d,52,65,63,69,70,69,65,6e,74,\
     73,2f,63,6e,3d,63,64,00,00,00,00

    ---------------end of reg file------------------------

    -------------------export script (1)---------------------

    Set WshShell = WScript.CreateObject("WScript.Shell")

    WshShell.Run ("regedit /s path\regfile.reg")

    WScript.Quit

    ---------------------end-------------------------------

    if you prefer to use environment variables use this script

    --------------------export script(2)---------------------

    Set WshShell = WScript.CreateObject("WScript.Shell")

    WshShell.Run (WshShell.ExpandEnvironmentStrings("regedit /s %var_name%\path\regfile.reg"))

    WScript.Quit

  3. the switch to use with msi file is /QN

    and about the hotfixes it's not a question of to many or not it's a question of whether you need them or not, so if you for eg install hotfixes for outlook or wmp9 and you don't use these programs in windows then u defenatly don't need these hotfixes or you install hotfixes that deal with different hardware you don't own or with other software conflicts you don't have, is another example

  4. i supose that you want to run a script that will import those registry values

    so here you go(you know the deal save as *.vbs in notepad)

    Set WshShell = WScript.CreateObject("WScript.Shell")

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent","Mozilla/4.0 (compatible; MSIE 5.0; Win32)","REG_SZ"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\NoNetAutodial",0,"REG_BINARY"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\MigrateProxy","00000001","REG_DWORD"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable","00000001","REG_DWORD"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableHttp1_1","00000001","REG_DWORD"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride","192.9.202.88:3128","REG_SZ"

    WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL","http://pac.adress.com","REG_SZ"

    WScript.Quit

  5. if you'd check drivers folder properties you would notice it gets the hidden and system file attributes(probably by setup program) so what i did was to add the following command before using the rd command

    ATTRIB -S -H -R "%systemroot%\drivers" /S /D

    RD "%systemroot%\drivers\" /S /Q

    no double delete no batch files in runonce no other "auxiliaries"

  6. to remember folder view settings export the following values from registery and add it to your regtweaks file it works only when it's executed during the unattnded installation. tested it already 5 times with virtual pc and worked every time.

    here are the values

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
    "Settings"

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]
    "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=
    "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}"=

    here are my settings for eg

    ;Folders View (details,no grouping,status bar,small buttons)
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
    "Settings"=hex:09,00,00,00,01,00,00,00,00,00,00,00,e0,d0,57,00,73,35,cf,11,ae,\
     69,08,00,2b,2e,12,62,04,00,00,00,06,00,00,00,43,00,00,00
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]
    "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=hex:1c,00,00,00,04,00,00,00,00,00,00,\
     00,00,00,9a,00,00,00,00,00,01,00,00,00,00,00,00,00,f0,f0,f0,f0,14,00,03,00,\
     9a,00,00,00,00,00,00,00,30,00,00,00,fd,df,df,fd,0f,00,05,00,24,00,10,00,2e,\
     00,46,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,78,00,\
     96,00,60,00,60,00,78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,05,\
     00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
     00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}"=hex:1c,00,00,00,01,00,00,00,00,00,00,\
     00,00,00,90,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,\
     90,00,00,00,00,00,00,00,30,00,00,00,fd,df,df,fd,0f,00,04,00,20,00,10,00,28,\
     00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,b4,00,60,00,78,00,\
     78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,ff,ff,ff,ff,00,00,00,\
     00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
     00,00,00,00,00,00,00,00

  7. i've searched through all the threads here but couldn't find a guide on integrating custom visual styles,icons and crusors. i used the shell section in winnt.sif but no luck. So if someone can post such guide it will be great, because almost all my unattended installation works great but i'm stuck on this theme thing for almost a week now.

    I managed to figure out how to apply crusors and change drive icons using registry

    although i can't change the startmenu icons for some reason.

    --------->edit Sorry for not starting a new thread but i wanted to ask if someone knows a registery tweak that allows to choose wanted visual effects

×
×
  • Create New...