VistaMax Posted September 12, 2008 Posted September 12, 2008 I been modified the XPize C# for make my own transformationpack but in the moment to patch the files ups a error this is the errorConsulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración Just-In-Time (JIT) en lugar de a este cuadro de diálogo.************** Texto de la excepción **************System.ComponentModel.Win32Exception: El sistema no puede hallar el archivo especificado en System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) en System.Diagnostics.Process.Start() en PatcherHelper.PatcherFunctions.ReplaceOnReboot(String moveExPath, String oldFileName, String newFileName) en XPize.MainApp.patcherWorker_DoWork(Object sender, DoWorkEventArgs e) en System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) en System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)************** Ensamblados cargados **************mscorlib Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------MaxPatcher Versión del ensamblado: 1.0.0.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Documents%20and%20Settings/VMax/Escritorio/Debug/MaxPatcher.exe----------------------------------------System.Windows.Forms Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Xml Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.Configuration Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------Accessibility Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------Interop.Shell32 Versión del ensamblado: 1.0.0.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Documents%20and%20Settings/VMax/Escritorio/Debug/Interop.Shell32.DLL----------------------------------------PatcherHelper Versión del ensamblado: 5.0.0.0 Versión Win32: 5.0.0.0 Código base: file:///C:/Documents%20and%20Settings/VMax/Escritorio/Debug/PatcherHelper.DLL----------------------------------------System.resources Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.resources/2.0.0.0_es_b77a5c561934e089/System.resources.dll----------------------------------------mscorlib.resources Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------System.Windows.Forms.resources Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000) Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll----------------------------------------************** Depuración JIT **************Para habilitar la depuración Just In Time (JIT), el archivo de configuración de estaaplicación o equipo (machine.config) debe tener elvalor jitDebugging establecido en la sección system.windows.forms.La aplicación también se debe compilar con la depuraciónhabilitadaPor ejemplo:<configuration> <system.windows.forms jitDebugging="true" /></configuration>Cuando esté habilitada la depuración JIT, cualquier excepción no controladase enviará al depurador JIT registrado en el equipoen lugar de controlarlo mediante el cuadro de diálogo.A ver si alguein español me ayuda si XPero me responde mejor
doomangel Posted September 12, 2008 Posted September 12, 2008 what kind of modifications you made?make sure the paths are correct as well as the structure of filelist.xml is also correct.
VistaMax Posted September 12, 2008 Author Posted September 12, 2008 Yes its correct but when the patching start appear thats errorSystem.ComponentModel.Win32Exception: The system can`t be found the specified filein System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)in System.Diagnostics.Process.Start()in PatcherHelper.PatcherFunctions.ReplaceOnReboot(String moveExPath, String oldFileName, String newFileName)in XPize.MainApp.patcherWorker_DoWork(Object sender, DoWorkEventArgs e)in System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)in System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
doomangel Posted September 12, 2008 Posted September 12, 2008 could be anything, you installed it in the default xpero folder? i may be wrong but i think it has preconfigured folders. i will check when i will go home. (i'm at work right now)
VistaMax Posted September 12, 2008 Author Posted September 12, 2008 Ok Thansk men i resolve the problem sory my englishI fix the problem XD
VistaMax Posted September 12, 2008 Author Posted September 12, 2008 Help me please i need another thing i need a FIleInformation.cs comatible with windows XPa fileinformation.cs for XP because these of the XPize diden't work on XPusing System;using System.Collections.Generic;using System.Text;using System.Collections;using System.IO;using Shell32;namespace XPize{ /// <summary> /// Returns the detailed Information of a given file. /// </summary> public class CFileInfo { private string sFileDescription = String.Empty; public CFileInfo(string sFPath) { // check if the given File exists if (File.Exists(sFPath)) { string aDetailedInfo = string.Empty; FileInfo oFInfo = new FileInfo(sFPath); sFileDescription = GetDetailedFileInfo(sFPath); } else { throw new Exception("The given File does not exist"); } } public string FileDescription { get { return sFileDescription; } } private string GetDetailedFileInfo(string sFile) { string det = string.Empty; if (sFile.Length > 0) { try { // Creating a ShellClass Object from the Shell32 ShellClass sh = new ShellClass(); // Creating a Folder Object from Folder that inculdes the File Folder dir = sh.NameSpace(Path.GetDirectoryName(sFile)); // Creating a new FolderItem from Folder that includes the File FolderItem item = dir.ParseName(Path.GetFileName(sFile)); // 34 == File description. det = dir.GetDetailsOf(item, 34); } catch { det = "Error retrieving file information."; } } return det; } }}
stefano4jc Posted October 6, 2011 Posted October 6, 2011 Ok Thansk men i resolve the problem sory my englishI fix the problem XDCOMO lo arreglaste?? estoy sufriendo con el mismo problema!!!HOW did u fixed it? Im suffering with the same problem!!gracias! , thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now