MSFN Forum: I need help with XPize in C# - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I need help with XPize in C# Rate Topic: -----

#1 User is offline   VistaMax 

  • Group: Members
  • Posts: 6
  • Joined: 25-February 07

Posted 11 September 2008 - 10:15 PM

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


#2 User is offline   doomangel 

  • Dreamer
  • Pip
  • Group: Banned
  • Posts: 57
  • Joined: 01-September 07

Posted 12 September 2008 - 02:55 AM

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

#3 User is offline   VistaMax 

  • Group: Members
  • Posts: 6
  • Joined: 25-February 07

Posted 12 September 2008 - 07:49 AM

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 User is offline   doomangel 

  • Dreamer
  • Pip
  • Group: Banned
  • Posts: 57
  • Joined: 01-September 07

Posted 12 September 2008 - 10:37 AM

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)

#5 User is offline   VistaMax 

  • Group: Members
  • Posts: 6
  • Joined: 25-February 07

Posted 12 September 2008 - 01:13 PM

Ok Thansk men i resolve the problem sory my english

I fix the problem

XD

#6 User is offline   VistaMax 

  • Group: Members
  • Posts: 6
  • Joined: 25-February 07

Posted 12 September 2008 - 05:04 PM

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 User is offline   stefano4jc 

  • Group: Members
  • Posts: 1
  • Joined: 06-October 11
  • OS:none specified
  • Country: Country Flag

Posted 06 October 2011 - 03:01 PM

View PostVistaMax, on 12 September 2008 - 01:13 PM, said:

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy