Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

I need help with XPize in C#

- - - - -

  • Please log in to reply
6 replies to this topic

#1
VistaMax

VistaMax
  • Member
  • 6 posts
  • Joined 25-February 07
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


How to remove advertisement from MSFN

#2
doomangel

doomangel

    Dreamer

  • Member
  • Pip
  • 57 posts
  • Joined 01-September 07
what kind of modifications you made?make sure the paths are correct as well as the structure of filelist.xml is also correct.
i will be heard

#3
VistaMax

VistaMax
  • Member
  • 6 posts
  • Joined 25-February 07
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)

#4
doomangel

doomangel

    Dreamer

  • Member
  • Pip
  • 57 posts
  • Joined 01-September 07
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)
i will be heard

#5
VistaMax

VistaMax
  • Member
  • 6 posts
  • Joined 25-February 07
Ok Thansk men i resolve the problem sory my english

I fix the problem

XD

#6
VistaMax

VistaMax
  • Member
  • 6 posts
  • Joined 25-February 07
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;
}
}
}

#7
stefano4jc

stefano4jc
  • Member
  • 1 posts
  • Joined 06-October 11
  • OS:none specified
  • Country: Country Flag

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 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users