published setup.exe crashes
by Serkan Agdelen · in Torque X 2D · 06/29/2009 (8:17 am) · 8 replies
Hi to all,
i am trying to test my game with other pc's,
i successfully build and publish my game in VS2005
after that i run setup.exe end install the game,
at the end of the installation it gives me error
popup "Cannot start application - Unable to retrieve application files.Files corrupt in deployment"
and this log file:
********************************************************************************************************
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file:///G:/ALBA/TorqueX/Projec/BlankTest/BlankTest/BlankTest/Game/publish/Game.application
Application url : file:///G:/ALBA/TorqueX/Projec/BlankTest/BlankTest/BlankTest/Game/publish/Game_1_0_0_9/Game.exe.manifest
IDENTITIES
Deployment Identity : Game.application, Version=1.0.0.9, Culture=neutral, PublicKeyToken=3d52f77f9970124c, processorArchitecture=x86
Application Identity : Game.exe, Version=1.0.0.9, Culture=neutral, PublicKeyToken=3d52f77f9970124c, processorArchitecture=x86, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of G:\ALBA\TorqueX\Projec\BlankTest\BlankTest\BlankTest\Game\publish\Game.application resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file Game.exe: the manifest may not be valid or the file could not be opened.
+ File Game.exe is not a valid Portable Executable (PE) file.
+ The process cannot access the file 'C:\Documents and Settings\Administrator\Local Settings\Temp\Deployment\T8Z3G81J.5YL\3TD1ODOA.GJB\Game.exe' because it is being used by another process.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/29/2009 6:15:06 PM] : Activation of G:\ALBA\TorqueX\Projec\BlankTest\BlankTest\BlankTest\Game\publish\Game.application has started.
* [6/29/2009 6:15:06 PM] : Processing of deployment manifest has successfully completed.
* [6/29/2009 6:15:06 PM] : Installation of the application has started.
* [6/29/2009 6:15:06 PM] : Processing of application manifest has successfully completed.
* [6/29/2009 6:15:08 PM] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [6/29/2009 6:15:08 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file Game.exe: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.IO.IOException
- File Game.exe is not a valid Portable Executable (PE) file.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)
at System.Deployment.Application.PEStream..ctor(String filePath, Boolean partialConstruct)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
--- Inner Exception ---
System.IO.IOException
- The process cannot access the file 'C:\Documents and Settings\Administrator\Local Settings\Temp\Deployment\T8Z3G81J.5YL\3TD1ODOA.GJB\Game.exe' because it is being used by another process.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
**********************************************************************************************************
can anybody help on this?
i couldnt run the game on other pc's.
Serkan
i am trying to test my game with other pc's,
i successfully build and publish my game in VS2005
after that i run setup.exe end install the game,
at the end of the installation it gives me error
popup "Cannot start application - Unable to retrieve application files.Files corrupt in deployment"
and this log file:
********************************************************************************************************
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file:///G:/ALBA/TorqueX/Projec/BlankTest/BlankTest/BlankTest/Game/publish/Game.application
Application url : file:///G:/ALBA/TorqueX/Projec/BlankTest/BlankTest/BlankTest/Game/publish/Game_1_0_0_9/Game.exe.manifest
IDENTITIES
Deployment Identity : Game.application, Version=1.0.0.9, Culture=neutral, PublicKeyToken=3d52f77f9970124c, processorArchitecture=x86
Application Identity : Game.exe, Version=1.0.0.9, Culture=neutral, PublicKeyToken=3d52f77f9970124c, processorArchitecture=x86, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of G:\ALBA\TorqueX\Projec\BlankTest\BlankTest\BlankTest\Game\publish\Game.application resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file Game.exe: the manifest may not be valid or the file could not be opened.
+ File Game.exe is not a valid Portable Executable (PE) file.
+ The process cannot access the file 'C:\Documents and Settings\Administrator\Local Settings\Temp\Deployment\T8Z3G81J.5YL\3TD1ODOA.GJB\Game.exe' because it is being used by another process.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/29/2009 6:15:06 PM] : Activation of G:\ALBA\TorqueX\Projec\BlankTest\BlankTest\BlankTest\Game\publish\Game.application has started.
* [6/29/2009 6:15:06 PM] : Processing of deployment manifest has successfully completed.
* [6/29/2009 6:15:06 PM] : Installation of the application has started.
* [6/29/2009 6:15:06 PM] : Processing of application manifest has successfully completed.
* [6/29/2009 6:15:08 PM] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [6/29/2009 6:15:08 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file Game.exe: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.IO.IOException
- File Game.exe is not a valid Portable Executable (PE) file.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)
at System.Deployment.Application.PEStream..ctor(String filePath, Boolean partialConstruct)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
--- Inner Exception ---
System.IO.IOException
- The process cannot access the file 'C:\Documents and Settings\Administrator\Local Settings\Temp\Deployment\T8Z3G81J.5YL\3TD1ODOA.GJB\Game.exe' because it is being used by another process.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
**********************************************************************************************************
can anybody help on this?
i couldnt run the game on other pc's.
Serkan
About the author
#2
I only discovered this publish function from reading your thread, but from my quick investigation, I see there is a tab on the project properties page with details and options for publishing. Perhaps something in there will help.
But, if the game itself is not working when directly copying, I would work on ironing that out first. And incidentally, from the release directory, you technically only need four parts, I believe: the EXE file, Torque.dll, torqueSettings.xml, and, of course, the data folder and all of its contents.
I don't know if many people have been using this publish function, so you may be a pioneer on this.
P.S. Did you ever have any luck in getting flash to work?
06/29/2009 (10:04 am)
When you copied the release directory and it didn't work, can you be more specific on what happened (or didn't happen)?I only discovered this publish function from reading your thread, but from my quick investigation, I see there is a tab on the project properties page with details and options for publishing. Perhaps something in there will help.
But, if the game itself is not working when directly copying, I would work on ironing that out first. And incidentally, from the release directory, you technically only need four parts, I believe: the EXE file, Torque.dll, torqueSettings.xml, and, of course, the data folder and all of its contents.
I don't know if many people have been using this publish function, so you may be a pioneer on this.
P.S. Did you ever have any luck in getting flash to work?
#3
***EDIT*** Are you using XNA 2.0 or 3.0? I have been having problems with ClickOnce publishing due to the target PC not having XNA Game Studio installed. According to this ClickOnce doesn't work well with 2.0, which is what I'm using due to me not having Torque 3.0.
Also, when your game is installed, what is the location it is installed in?
06/29/2009 (11:03 am)
Found this Microsoft article. Specifically, take a look at the section titled Special Considerations for Game Data Files. It mentions setting properties for some files, which I believe will apply to XNA and especially Torque games due to the use of XML files. I'm not sure exactly what to change, but hopefully this is going in the right direction.***EDIT*** Are you using XNA 2.0 or 3.0? I have been having problems with ClickOnce publishing due to the target PC not having XNA Game Studio installed. According to this ClickOnce doesn't work well with 2.0, which is what I'm using due to me not having Torque 3.0.
Also, when your game is installed, what is the location it is installed in?
#4
when i try to use publish option from the build menu on VS2005,
on the output console it says:
************************************************************************
------ Build started: Project: Torque, Configuration: Release x86 ------
Torque -> C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestTorquebinx86ReleaseTorque.dll
------ Build started: Project: Game, Configuration: Release x86 ------
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:TRACE /main:StarterGame2D.Game /reference:"C:Program FilesMicrosoft XNAXNA Game Studiov2.0ReferencesWindowsx86Microsoft.Xna.Framework.dll" /reference:"C:Program FilesMicrosoft XNAXNA Game Studiov2.0ReferencesWindowsx86Microsoft.Xna.Framework.Game.dll" /reference:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll" /reference:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.dll" /reference:"C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestTorquebinx86ReleaseTorque.dll" /debug:pdbonly /optimize+ /out:objx86ReleaseGame.exe /resource:objx86ReleaseStarterGame2D.obj.x86.Release.Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile /target:winexe /win32icon:Game.ico Game.cs MovementComponent.cs "PropertiesAssemblyInfo.cs"
Compile complete -- 0 errors, 0 warnings
Game -> C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamebinx86ReleaseGame.exe
IF NOT "x86" == "x86" GOTO end
call "C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamebinx86ReleaseGame.exe" -exportschema "C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamemyschema.txschema"
echo Torque X Component Schema Generated.
:end
Torque X Component Schema Generated.
Building Game...
------ Publish started: Project: Game, Configuration: Release x86 ------
Connecting to 'C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamepublish'...
Publishing files...
Publish success.
C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamepublish
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
************************************************************************
after that on the same machine i try to run setup.exe file, it installs quckly and i can see the game from my xp startup menu within a folder called game.
when i click game.exe i get error like this:

at that window i click debug button and get this error:

folder not found exception, and after that i open the folder that
the game is installed, which have been shown on the debug(as you can see) and see this:

as you can see, the data folder doesnt exist. and i tried every possibility on the game publish properties, i couldnt run the game even on the machine it was developed :D
06/29/2009 (3:59 pm)
first i would like to thank you so much for helping.when i try to use publish option from the build menu on VS2005,
on the output console it says:
************************************************************************
------ Build started: Project: Torque, Configuration: Release x86 ------
Torque -> C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestTorquebinx86ReleaseTorque.dll
------ Build started: Project: Game, Configuration: Release x86 ------
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:TRACE /main:StarterGame2D.Game /reference:"C:Program FilesMicrosoft XNAXNA Game Studiov2.0ReferencesWindowsx86Microsoft.Xna.Framework.dll" /reference:"C:Program FilesMicrosoft XNAXNA Game Studiov2.0ReferencesWindowsx86Microsoft.Xna.Framework.Game.dll" /reference:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll" /reference:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.dll" /reference:"C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestTorquebinx86ReleaseTorque.dll" /debug:pdbonly /optimize+ /out:objx86ReleaseGame.exe /resource:objx86ReleaseStarterGame2D.obj.x86.Release.Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile /target:winexe /win32icon:Game.ico Game.cs MovementComponent.cs "PropertiesAssemblyInfo.cs"
Compile complete -- 0 errors, 0 warnings
Game -> C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamebinx86ReleaseGame.exe
IF NOT "x86" == "x86" GOTO end
call "C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamebinx86ReleaseGame.exe" -exportschema "C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamemyschema.txschema"
echo Torque X Component Schema Generated.
:end
Torque X Component Schema Generated.
Building Game...
------ Publish started: Project: Game, Configuration: Release x86 ------
Connecting to 'C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamepublish'...
Publishing files...
Publish success.
C:Documents and SettingsAdministratorDesktopprojecBlankTestBlankTestBlankTestGamepublish
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
************************************************************************
after that on the same machine i try to run setup.exe file, it installs quckly and i can see the game from my xp startup menu within a folder called game.
when i click game.exe i get error like this:

at that window i click debug button and get this error:

folder not found exception, and after that i open the folder that
the game is installed, which have been shown on the debug(as you can see) and see this:

as you can see, the data folder doesnt exist. and i tried every possibility on the game publish properties, i couldnt run the game even on the machine it was developed :D
#5
directly from the development machine, i copied the Gamebinx86Release folder, go to another pc, brand new formatted, set up dot net framework 2.0, xna framework 2.0 and directX 9c and paste the release folder to desktop, click the game.exe and get the similar error, on my small laptog which has vista home basic on it i am getting this:
************************************************************************
System.IO.FileNotFoundException was unhandled
Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
Source="Torque"
StackTrace:
at GarageGames.Torque.GameUtil.TorqueGame..ctor()
at StarterGame2D.Game.Main() in G:ALBATorqueXProjecBlankTestBlankTestBlankTestGameGame.cs:line 46
(line 46 on game.cs is this:
_myGame = new Game(); in the main method)
************************************************************************
on the other hand on the other laptop 64bit vista home premium it is working as on the development machine.
now i am really confused.
whats the problem?
Thanks again
Serkan
06/29/2009 (4:18 pm)
for the second part,directly from the development machine, i copied the Gamebinx86Release folder, go to another pc, brand new formatted, set up dot net framework 2.0, xna framework 2.0 and directX 9c and paste the release folder to desktop, click the game.exe and get the similar error, on my small laptog which has vista home basic on it i am getting this:
************************************************************************
System.IO.FileNotFoundException was unhandled
Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
Source="Torque"
StackTrace:
at GarageGames.Torque.GameUtil.TorqueGame..ctor()
at StarterGame2D.Game.Main() in G:ALBATorqueXProjecBlankTestBlankTestBlankTestGameGame.cs:line 46
(line 46 on game.cs is this:
_myGame = new Game(); in the main method)
************************************************************************
on the other hand on the other laptop 64bit vista home premium it is working as on the development machine.
now i am really confused.
whats the problem?
Thanks again
Serkan
#6
The published output does not seem to include the content from the data directory. Even if it was put in manually, I doubt it would then be part of the installation. According to the second link I put earlier:
To review, for a game made with XNA 2.0 to run, the PC must have:
Also, in that second linked thread, from Aaron Stebner:
Until going to XNA 3.1, may have to just copy the executable to the target PC and manually make sure it has the Prerequisites needed.
06/29/2009 (6:40 pm)
Man, this problem's ticking me off. I've been trying to do this for my game and not doing much better. You mentioned VS2005, so I assume you're then using XNA 2.0.The published output does not seem to include the content from the data directory. Even if it was put in manually, I doubt it would then be part of the installation. According to the second link I put earlier:
Quote:In XNA Game Studio 2.0, the output of nested content projects was not included in the ClickOnce publishing output when publishing in Visual Studio. There are some advanced steps that can be used to work around this, but they require in-depth ClickOnce knowledge and also require running publishing tools outside of Visual Studio (such as mage.exe and mageui.exe).So maybe publish doesn't actually work for 2.0?? I see now that the first link I posted above says it is for XNA 3.1. Unless anyone has had any success getting around this, seems we're only left with a few options:
- Try to work around it as the quote suggests, though who knows how.
- Upgrade to XNA 3.1, and along with that VS 2008 and TorqueX 3.0.
- Try to create an installer with some other program
- Don't use an installer; just copy the needed files and manually ensure the target PC has the Prerequisites
To review, for a game made with XNA 2.0 to run, the PC must have:
- .NET Framework 2.0 or higher
- DirectX 9.0c runtime or higher (technically only certain files)
- XNA Framework 2.0 or higher
Also, in that second linked thread, from Aaron Stebner:
Quote:Games created using XNA Game Studio 2.0 and 3.0 both require files that are installed by the Visual C++ 2005 SP1 redistributable package.I even found this XNA forum thread where "XNA Guy" posted how to build a bootstrapper package for deploying the XNA 2.0 framework. I was able to get that to work and so my installation put in the needed XNA framework, but there still was no content, and thus the game crashes when run.
You do not always need to include this VC++ 2005 SP1 redistributable package in your installer though. For example, the .NET Framework 2.0 SP1 contains the necessary VC++ 2005 SP1 files. Also, we have added the necessary VC++ 2005 SP1 files to the XNA Framework Redistributable 3.0 (in the final release only - you won't see these files there in the beta).
Until going to XNA 3.1, may have to just copy the executable to the target PC and manually make sure it has the Prerequisites needed.
#7
Also, the properties of the torqueSettings.xml file should must be Build Action -> Content and Copy to Output Directory -> Copy if newer, though that should already be set.
***EDIT***
When I copied the data folder from the release directory to the install location, it worked fine, so it really just seems to come down to the content not being installed. Why that is the case is anyone's guess, but I recommend just trying to find if there are some missing prerequisites for your game on the PCs it didn't work on.
06/29/2009 (7:41 pm)
When I installed my game, I found the install location and found the same files as your picture, but with the addition of "torqueSettings.xml". That is because I clicked the "Application Files..." button on the Publish tab and changed torqueSettings.xml to "include" instead of "data file", as per the instructions of my first linked pageQuote:2. Reassign the Publish Status to "Include."The game still crashes, due to the content not being installed, but at least that is one thing solved that would have also been a problem.
Also, the properties of the torqueSettings.xml file should must be Build Action -> Content and Copy to Output Directory -> Copy if newer, though that should already be set.
***EDIT***
When I copied the data folder from the release directory to the install location, it worked fine, so it really just seems to come down to the content not being installed. Why that is the case is anyone's guess, but I recommend just trying to find if there are some missing prerequisites for your game on the PCs it didn't work on.
#8
i was checked the directX versions and they had all the same version with dxdiag, that is; 4.09.0000.0904. in the machine that the game is not working and in the machine that the game is working. after that i decide to install directx again to machine that the game is not working.
after successful installation of directX 09c ( march 2009 ) i try to run the game and it is working. but the build in publish doesnt working, i will try that with torqueX 3.0.
thanks for your help,
have a nice day.
07/01/2009 (4:58 am)
i found the problem at last,i was checked the directX versions and they had all the same version with dxdiag, that is; 4.09.0000.0904. in the machine that the game is not working and in the machine that the game is working. after that i decide to install directx again to machine that the game is not working.
after successful installation of directX 09c ( march 2009 ) i try to run the game and it is working. but the build in publish doesnt working, i will try that with torqueX 3.0.
thanks for your help,
have a nice day.
Torque Owner Serkan Agdelen
are there important settings that i miss?
if there is a guide for publishing or deploying your game, i would be glad to read it.
i want to note that too;
i copy \Game\bin\x86\Release\ directory and test from there,
but it worked only on 1 pc and didnt work on any other pc,
i tested on 6 pc, only one worked, can you tell me why this is happening? or am i doing something wrong? what are the prerequisits?
thanks in advance.
Serkan