Jump to content

nivek7

Member
  • Posts

    40
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Posts posted by nivek7

  1. Sorry if this has been posted before but...

    Error 21: Shell folder environment strings are disabled. Can't load user profile. (Windows 2000: Enable SeTcbPrivilege privilege)

    this comes in the window where i can click "finish"

    here is my install.ini:

    ; SHORT DESCRIPTION OF KEYS
    ;
    ; description.x  = Description of the installable software
    ; command.x  = command that should be executed to install the software
    ; hidden.x  = if 1, this sub command will not be showed in list view control
    ; selected.x  = if software will be installed by default (checked in list view control)
    ; file.x.y  = file that should be checked against specified version (greater/less/exists comparison)
    ; key.x.y  = registry key that should be checked against specified data (greater/less comparison)
    ; ... whereby x is a continuous number of sub commands (command.x) and y is a continuous number
    ; of unique (enumeration)
    ;
    ; Default keys that will be used if not specified:
    ; selected = 1 (Note this is the selection key for entire section)
    ; hidden = 0 (section specific invisibility)
    ; collapsed = 0
    ;
    ; hidden.x = 0
    ; description.x = <missing description>
    ; selected.x = 0
    ; key.comparison.x = and
    ; file.comparison.x = and
    ; collapsed.x = 0
    ;
    ; Strings in command.x, key.x.y and file.x.y will be expanded if necessary.

    ; NEW IN VERSION 2.1
    ; There can be theoretically up to 65535 enrties per subtree
    ; Note: One key "key.a.b.c.d.e.f.g.h...=" must not exceed 255 characters entirely
    ; To create a sub tree just append sublevel indizes to commands like:
    ;
    ; command.0="command 1"
    ; command.1="command 2"
    ; command.0.0="sub command 0.0"
    ; command.0.0.0="sub command 0.0.0"
    ; command.0.0.1="sub command 0.0.1"
    ;
    ; ... Will create following sub tree:
    ;
    ; "command 1"
    ;     "sub command 0.0"
    ;         "sub command 0.0.0"
    ;         "sub command 0.0.1"
    ; "command 2"
    ;
    ; Remark: If you hidden a tree, also each of it's subtrees will be hidden also if not specified explicitly
    ; Root Tree (section name) will never be hidden!

    [Environment]

    ; DefaultHome will set the home directory that will used as default for each new user
    ; if none is specified by the user
    ; MozillaFireFoxVersion=HKLM:Software\Mozilla\Mozilla Firefox\CurrentVersion
    ; MozillaFireFoxPath=HKLM:Software\Mozilla\Mozilla Firefox\%MozillaFireFoxVersion%\Main\Install Directory

    DefaultProfilesDir = HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory

    ; Favorites=%systemroot%\My Favorites

    ; KEYWORD DESCRIPTION
    ; dimension.update=1 will write WIHU windows size to ini file. Next time WIHU is started, it will adjust
    ; it's size to corresponding dimension.width and dimension.height parameters.

    [settings]
    ; dimension.update=1
    ; dimension.width=800
    ; dimension.height=500
    ; PageHeaderTitle.x and PageHeaderSubTitle.x sets the header title or subtitle of
    ; specified page. First page is page 0.
    ; PageHeaderTitle.0=Title0
    ; PageHeaderSubTitle.0=SubTitle0
    ; PageHeaderTitle.1=Title1
    ; PageHeaderSubTitle.1=SubTitle1
    ; computer=xyz
    ; skipsettings=1
    skipsoftware=1
    skiprestart=1
    nocancel=1
    autologon=1
    ;autoexit=1
    norestartchange=1

    ;[Fully hidden commands, should'nt be displayed ]
    ;hidden = 1

    ;command.0=cmd.exe /c @echo Hidden 0
    ;description.0=(Should not be displayed)
    ;selected.0=1
    ;hidden.0=1

    ;command.0.0=cmd.exe /c @echo Hidden 0.0
    ;description.0.0=(Should not be displayed)
    ;selected.0.0=0
    ;hidden.0.0=1

    ; SHORT DESCRIPTION OF SECTION USERS
    ;
    ; User.x = Will create a new user with specified name and set Password.x
    ; Group.x can be either 0, 1 or 2. 1 means that new user will be added to "Administrators" Group,
    ; 0 means "Users" group, 2 will cause WIHU not to move the user to any group.
    ; Status.x set account status. For valid numbers please look at NetUserAdd API in USER_INFO_1
    ; struct at "usri1_flags". Description can be found on
    ; http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/user_info_1_str.asp
    ; Here is a list of values.
    ;
    ; #define UF_SCRIPT                          0x0001
    ; #define UF_ACCOUNTDISABLE                  0x0002
    ; #define UF_HOMEDIR_REQUIRED                0x0008
    ; #define UF_LOCKOUT                         0x0010
    ; #define UF_PASSWD_NOTREQD                  0x0020
    ; #define UF_PASSWD_CANT_CHANGE              0x0040
    ; #define UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED 0x0080
    ; #define UF_DONT_EXPIRE_PASSWD           0x10000
    ; #define UF_MNS_LOGON_ACCOUNT            0x20000
    ; #define UF_SMARTCARD_REQUIRED           0x40000
    ; #define UF_TRUSTED_FOR_DELEGATION       0x80000
    ; #define UF_NOT_DELEGATED               0x100000
    ; #define UF_USE_DES_KEY_ONLY            0x200000
    ; #define UF_DONT_REQUIRE_PREAUTH        0x400000
    ; #define UF_PASSWORD_EXPIRED            0x800000
    ; ...
    ;
    ; Profile.x specifies the users profile path
    ; RoamingProfile.x specifies the roaming profile path
    ; Home.x specifies the path of the home directory for the new user
    ; Comment.x contains a comment to associate with the user account
    ; Script.x specifies the path for the user's logon script file.
    ;  The script file can be a .CMD file, an .EXE file, or a .BAT file.
    ; Domain.x Domain/Computer where to create the user. If none is specified
    ;  local system will be used.
    ; Default = x specifies the index of the user which should be used as default user
    ;  i.e. this which will be used for software installation.
    ; Crypted.x Do not change this, it will be generated automatically by calling "WIHU /EncryptIni"
    ;  and will be removed by "WIHU /DecryptIni"
    ;  If you remoce Crypted.x key, you have to adjust corresponding password.x key
    ;  otherwise password.x will not be decrypted correctly.
    ; If some of the specified users already exists, user data will be updated with this
    ; new one specified here.
    ;
    ; PREDEFINED VOLATILE ENVIRONMENT VARIABLES
    ; %ThisUser% Will be replaced by the corresponding user name
    ; %ThisHome% Will be replaced by the corresponding user home path (ONLY if specified here)
    ; %ThisProfile% Will be replaced by the corresponding user profile path (ONLY if specified here)

    ; PREDEFINED SHELL PATHS ARE FOLLOWING
    ; Note: If you set one of this in here, it will be also set for newly created user
    ;
    ; Administrative Tools
    ; Cache
    ; CD Burning
    ; Cookies
    ; Desktop
    ; Favorites
    ; Fonts
    ; History
    ; Local AppData
    ; Local Settings
    ; My Music
    ; My Pictures
    ; My Video
    ; NetHood
    ; Personal
    ; PrintHood
    ; Programs
    ; Recent
    ; SendTo
    ; Start Menu
    ; Startup
    ; Templates

    ; My Video.x=%systemdrive%\Videos

    [Users]

    Default=1

    User.1=New User
    Group.1=1
    Status.1=0x10028
    Status.1=0x20000
    ;Script.1=logon.cmd
    Comment.1=Your Newly Created User Account
    ;home.1=c:\%ThisUser%
    ;profile.1=%ThisHome%
    ;roamingprofile.1=%ThisHome%\roaming
    ; My Video.1=c:\%ThisUser%\Videos

    ;Domain.2=axp-vpc
    ;User.2=New Domain User
    ;Password.2=abc_12345_ssanz_48739722367475
    ;Group.2=1
    ;Status.2=0x0020
    ;Comment.2=This is a new domain user which will be created at specified domain

    ; Disable Administrator account
    user.0=Administrator
    status.0=0x002
    Group.0=1
    crypted.0=32

    ;user.2=cde
    ;password.2=4A3178034B307F044A314A31EA
    ;crypted.2=12


    [environment.0]
    UserTestEnvVar1=Testdata 1 from users.ini [environment.0] section
    UserTestEnvVar2=Testdata 2 from users.ini [environment.0] section

    ; KEYWORD DESCRIPTION
    ; delete.x=UserName@Domain, (whereby Domain is optional) will delete specified existing windows user account
    ; disable.x/enable.x=UserName@Domain, (whereby Domain is optional) will disable/enable specified existing windows user account
    ; Rename.x=FromUser@Domain, ToUser renames a user
    [Users.Operation]
    ; delete.0=ASPNET
    ; disable.0=New User@axp
    ; rename.0=new user@axp, new

    thanks

  2. so here is my problem...

    REG ADD %KEY%\070 /VE /D "Mozilla Firefox 9.3" /f
    REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Firefox\install.exe /qb" /f
    REG ADD %KEY%\070 /V 2 /D "xcopy.exe /y /s /e /I \"%systemdrive%\install\firefox\newA\" \"%systemdrive%\Documents and Settings\%username%\Application Data\Mozilla\" /f
    REG ADD %KEY%\070 /V 3 /D "%systemdrive%\install\Firefox\flashplayer7installer.exe /s" /f

    but it copies to C:\Documents and Settings\Application Data\Mozilla instead...

  3. Sorry if this has been posted before, but i searched and could not find it.

    Sometimes this happens, sometimes it doesn't. Sometimes when I use this command:

    [CODEREG ADD %KEY%\070 /V 2 /D "xcopy.exe /y /s /e \"%systemdrive%\install\firefox\newA\" \"%systemdrive%\Documents and Settings\Nivek\Application Data\Mozilla\"

    it gives me this:


    Does C:\Documents and Settings\Nivek\Application Data\Mozilla specify a file name or directory name on the target
    <F = file, D = directory>?

    then you have to put in F or D, but i want it to use D every time... most of my xcopy's dont give me this though they use the same "structure"

    thanks

    edit: i think this only happens when the directory im copying to doesn't exist.. is there a way i can create a new directory from runonceex?

  4. Each line must have a unique number!

    QUOTE:

    REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.log

    REG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.log

    SHOULD BE:

    REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.log

    REG ADD %KEY%\016 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.log

    If you duplicate numbers chaos ensues...

    err... i dont think that is correct. correct me if im wrong. (it was originally right)

  5. im not sure, but i think this will work. i found this in the reg tweaks thread

    once again, i dunno if it works!

    ;This registry entry will enable the Quick Launch Toolbar on the taskbar.

    [HKEY_USERS\custom\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
    "Default Taskbar"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\
     d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\
     01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\
     00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\
     bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\
     00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\
     d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\
     00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\
     b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\
     72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\
     c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\
     c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\
     50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\
     6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\
     32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\
     45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\
     20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\
     00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\
     00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\
     5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\
     5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\
     66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\
     6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\
     00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\
     4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\
     6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\
     77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\
     00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\
     63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\
     55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\
     51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\
     66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\
     00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\
     00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\
     00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\
     00,00,00,00,00,01,00,00,00
    "TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,d8,\
     64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,01,\
     00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,00,\
     00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,bd,\
     01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,00,\
     01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,d0,\
     20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,00,\
     00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,b9,\
     10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,72,\
     6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,c1,\
     24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,c1,\
     24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,50,\
     4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,6f,\
     73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,32,\
     a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,45,\
     52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,20,\
     4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,00,\
     00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,00,\
     03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,5c,\
     57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,5c,\
     41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,66,\
     74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,6b,\
     20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,00,\
     00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,4a,\
     00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\
     63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,77,\
     73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,00,\
     00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,63,\
     68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,55,\
     4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,51,\
     00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,66,\
     00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,00,\
     00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,00,\
     00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,00,\
     00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,\
     00,00,00,00,01,00,00,00

×
×
  • Create New...