Jump to content

Ayudame Rick!


matute_mat
 Share

Recommended Posts

hola, mira no tengo mucho tiempo asi que sere breve, quiero que se me inicie el archivo "Setup.cmd" luego de la instalacion con el metodo Runoncex, todo bien hasta ahi, pero cuando se ejecuta el .cmd no funciona, no se que es lo que esta pasando no se me habre el panel para cambiar la resolucion de pantalla, no se me agregan los cambios al registro, por que puede ser, te dejo los archivos que van a la carpeta "Temp" despues de la instalacion, ahi esta el "Setup.cmd" que quiero que se instale!

ah otra cosa, tampoco puedo hacer que el cd se llame %CDROM% (haja no se como expresarme) espero que me puedas ayudar, aca esta el archivo!

[url="http://cid-94fc07b83f422c57.skydrive.live.com/self.aspx/P

Link to comment
Share on other sites

Haber yo lo hago asi, primero cargo la carpeta temp mediante SVCPACK en la cual va mi inicio.cmd (que en tu caso seria setup.cmd) luego lo llamo mediante GuiRunOnce

en mi caso es asi

[GuiRunOnce]

%systemroot%\temp\inicio.cmd

Con respeto a la resolucion,

Edited by themukanoide
Link to comment
Share on other sites

hola, aja el metodo ese del winnt.sif no lo queria usar por que este windows no va a ser para mi solo, por eso preferia que cada uno use su tema y su resolucion de pantalla, el metodo guirunonce, funciona todo bien, pero cuando se ejecuta el archivo setup.cmd no hace nada de lo que tiene que hacer, no se cual es el error es rarisimo, jaja encima tampoco se como predeterminar la lectora a %CDROM% muchas gracias amigo por la respuesta, ah y lo de la carpeta svcpack esta todo solucionado, hice un archivo con el nsis y se me autoextraiga con el /S, muchas gracias, saludos!!

Link to comment
Share on other sites

Yo creo que tu problema es causado por el %CDROM%, pruebe uno de estos dos metodos para encontrar el cdrom aver si te funciona

@echo off
Rem Espere mientras Windows T! se configura
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51 set CDROM=%%i:
cd %CDROM%

Rem Validando Windows
%systemdrive%\Windows\Temp\Installer.bat

REM Aplicando modificaciones de registro
regedit /S %systemdrive%\Windows\Temp\tweaks.reg

Rem abre cuadro de dialogo para cambiar resolucion
rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Settings

Rem Inicia WPI
start /wait %CDROM%\Install\WPI\WPI.hta

REM Limpia los controladores usados en la instalacion
IF EXIST %SystemDrive%\DPsFnshr.exe GOTO yes
GOTO no
:yes
start /wait %SystemDrive%\DPsFnshr.exe

REM Iniciando StartUp Manager, Por favor seleccione los programas que quiere que inicien con la pc
%systemdrive%\Windows\Temp\StartUp.exe

REM Inicia el Asistente para configurar la cuenta de usuario
%systemdrive%\Windows\Temp\Asistente.exe

EXIT

Link to comment
Share on other sites

Si quieres tus regtweaks pueden ser agregados a mi updatepack dentro de ie.inf, asi

[IE7Stub]
AddReg=Base.Stub.AddReg,Base.Tweaks.AddReg
[color="#FF0000"]DelReg=Base.Stub.DelReg[/color]

[Base.Stub.AddReg]
HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon",,,"%16422%\%LMSIE4%\iexplore.exe,-7"

[Base.Tweaks.AddReg]
; Language Settings in IE7
HKCU,"Software\Microsoft\%MSIE4%\International","AcceptLanguage",,"%MuiWebPageDirectory%"
; Remove Microsoft Update ActiveX Prompt for IE7
HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{6E32070A-766D-4EE6-879C-DC1FA91D2FC3}\iexplore","Flags",0x10001,4
; Remove Microsoft Update Catalog ActiveX Prompt for IE7
HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{5AE58FCF-6F6A-49B2-B064-02492C66E3F4}\iexplore","Flags",0x10001,4
; Remove Office Update ActiveX Prompt for IE7
HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{05CA9FB0-3E3E-4B36-BF41-0E3A5CAA8CD8}\iexplore","Flags",0x10001,4
; Remove Office Update Engine ActiveX Prompt for IE7
HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{C7DB51B4-BCF7-4923-8874-7F1A0DC92277}\iexplore","Flags",0x10001,4
; Microsoft Silverlight ActiveX Prompt for IE7
HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{DFEAF541-F3E1-4C24-ACAC-99C30715084A}\iexplore","Flags",0x10001,4
; To make sure that everything is OK.
HKLM,"%UPDATES%","Actualizaciones de %MSIEXPLORE_DESC% 7 proporcionado por",,"%NAME% %VERSION%"
[color="#FF0000"]
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","AutoChkTimeOut",0x10001,3
HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","Enable",,,"Y"
HKLM,"Software\Microsoft\Outlook Express","Hide Messenger",0x10001,2
HKLM,"Software\Microsoft\Outlook Express","Hide Messenger",0x10001,2
HKCU,"Control Panel\Desktop","AutoEndTasks",,,"1"
HKCU,"Control Panel\Desktop","HungAppTimeout",,,"100"
HKCU,"Control Panel\Desktop","WaitToKillAppTimeout",,,"1000"
HKLM,"SYSTEM\CurrentControlSet\Control","WaitToKillServiceTimeout",,,"1000"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList","Administrador",0x10001,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",,,"0"
HKLM,"SOFTWARE\Windows T!","Nombre",,,"Windows T!"
HKLM,"SOFTWARE\Windows T!","Version",,,"2"
HKLM,"SOFTWARE\Windows T!","Fecha",,,"05/03/09"
HKLM,"SOFTWARE\Windows T!","S.O",,,"Windows XP SP3"
HKCU,"Control Panel\Desktop","ScreenSaveActive",,,"0"
HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",,
HKU,".DEFAULT\Control Panel\Desktop","ScreenSaveActive",,,"0"
HKU,".DEFAULT\Control Panel\Desktop","SCRNSAVE.EXE",,
HKCU,"Control Panel\Desktop","Wallpaper",,"%10%\web\wallpaper\Windows T!.jpg"
HKCU,"Control Panel\Desktop","WallpaperStyle",,,"2"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","WCreatedUser",,,"1"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","ThemeActive",,,"1"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","LoadedBefore",,,"1"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","LastUserLangID",,,"3082"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","DllName",0x20000,"%%SystemRoot%%\resources\Themes\Luna (Longhorn Revolution)\Luna (Longhorn Revolution).msstyles"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","ColorName",,,"NormalColor"
HKCU,"Software\Microsoft\Windows\CurrentVersion\ThemeManager","SizeName",,,"NormalSize"
HKCU,"Software\Microsoft\Office\11.0\Common\Internet","UseOnlineContent",0x10001,2
HKCU,"Software\Microsoft\Office\Common","QMEnable",0x10001,0
HKCU,"Software\Microsoft\Internet Explorer\Main","ShowedCheckBrowser",,,"Yes"
HKCU,"Software\Microsoft\Internet Explorer\Main","Check_Associations",,,"No"
HKCU,"Software\Microsoft\Internet Explorer\Main","Start Page",,,"http://www.google.com.ar/"
HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","Enable",,,"Y"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket","Percent",0x10001,5
HKCU,"Software\Microsoft\Windows\CurrentVersion\Applets\SysTray","Services",0x10001,1f,00,00,00
HKCU,"Software\Microsoft\Internet Explorer","Show_FullURL",0x10001,1
HKCU,"Software\Microsoft\Ftp","Use PASV",,,"yes"
HKCU,"Control Panel\Desktop","FontSmoothing",,,"2"
HKCU,"Control Panel\Desktop","FontSmoothingType",0x10001,2
HKU,".DEFAULT\Control Panel\Desktop","FontSmoothing",,,"2"
HKU,".DEFAULT\Control Panel\Desktop","FontSmoothingType",0x10001,2
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop","TaskbarWinXP",1,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
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontSearchWindowsUpdate",0x10001,1
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontPromptForWindowsUpdate",0x10001,1

[DelReg=Base.Stub.DelReg]
HKCR,"CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}"[/color]

[Triedit.RegSvr]
16427,Microsoft Shared\Triedit,dhtmled.ocx,1
16427,Microsoft Shared\Triedit,triedit.dll,1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...