Sign in to follow this  
Followers 0
VistaMax

I need help with XPize in C#

7 posts in this topic

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 error

Consulte 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 esta

aplicación o equipo (machine.config) debe tener el

valor jitDebugging establecido en la sección system.windows.forms.

La aplicación también se debe compilar con la depuración

habilitada

Por ejemplo:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada

se enviará al depurador JIT registrado en el equipo

en lugar de controlarlo mediante el cuadro de diálogo.

A ver si alguein español me ayuda si XPero me responde mejor

0

Share this post


Link to post
Share on other sites

what kind of modifications you made?make sure the paths are correct as well as the structure of filelist.xml is also correct.

0

Share this post


Link to post
Share on other sites

Yes its correct but when the patching start appear thats error

System.ComponentModel.Win32Exception: The system can`t be found the specified file

in 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)

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

Help me please i need another thing i need a FIleInformation.cs comatible with windows XP

a fileinformation.cs for XP because these of the XPize diden't work on XP

using 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;

}

}

}

0

Share this post


Link to post
Share on other sites

Ok Thansk men i resolve the problem sory my english

I fix the problem

XD

COMO lo arreglaste?? estoy sufriendo con el mismo problema!!!

HOW did u fixed it? Im suffering with the same problem!!

gracias! , thanks

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.