Problems with distrubuting my app
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
Problems with distrubuting my app
When i gave my app to the BETA testers, they got this error:
The app has failed to start because it's side by side config is incorrect. Please see the application event log for more info.
I Don't see a why to fix it. so maybe you can help?
The app has failed to start because it's side by side config is incorrect. Please see the application event log for more info.
I Don't see a why to fix it. so maybe you can help?
- Kencho
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
- Contact:
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
You simply need to pass the vc8 distributable runtime along - and make sure that you are not giving out a debug build.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
-
- Goblin
- Posts: 282
- Joined: Sat May 14, 2005 9:20 pm
- x 1
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
It is bad practice, and much better to build an installer, using WIX.C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86
Look at the Ogre source for an example (Demos installer script).
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Taken from this topic:sinbad wrote:vcredist.exe is the hacky way anyway, and even those with the Pro version of VS2005 didn't get an update to that file with SP1 so it's no longer useful. The correct way is to build a proper installer - use WiX or something similar. You can see the WiX script for our own demos in Samples\Common\Setup.
http://www.ogre3d.org/phpBB2/viewtopic. ... t=vcredist
It makes sense to me, although you *can* get it to work using vcredist, it is simply less errorprone with an installer script.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Just noticed that you're in that topic as well ..
I just might write a mini-tut on distributing your Ogre application ...
I just might write a mini-tut on distributing your Ogre application ...
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
I DON'T HAVE THIS FILEjacmoe wrote:It is bad practice, and much better to build an installer, using WIX.C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86
Look at the Ogre source for an example (Demos installer script).
It isn't there. It never was. Also i have SP1. as i mentioned.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Of course you haven't! :p
For VC Express: you can make your own MSI redistributable using the MSM files that are available at: \Program Files\common files\Merge Modules
using the method mentioned here:
http://blogs.msdn.com/nikolad/archive/2 ... 60368.aspx
He has a typo in step 8, it should be:
a >cd d:\WiX
b. >candle.exe vccrt.wxs -out vccrt.wixobj
c. >light.exe vccrt.wixobj -out vccrt.msi
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Interestingly, Microsoft writes all over the place that vcredist_whatever.exe is the preferred method for VC Express, but they are not providing us with the correct, updated sp1 redist package, are they!?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
I finally found a straight-forward how-to:
http://blogs.msdn.com/nikolad/archive/2 ... puter.aspx
http://blogs.msdn.com/nikolad/archive/2 ... puter.aspx
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
Yes, I'm having trouble with Step 4.jacmoe wrote:I finally found a straight-forward how-to:
http://blogs.msdn.com/nikolad/archive/2 ... puter.aspx
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Try using the Visual Studio 2005 Command Prompt and run the UUIDgen tool from there.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Do you have uuidgen somewhere? Maybe in the PSDK?
If not, check that you've installed the platform tools.
Otherwise, Google for uuidgen.
If not, check that you've installed the platform tools.
Otherwise, Google for uuidgen.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
I wonder if this works for you?
http://www.famkruithof.net/uuid/uuidgen
http://www.famkruithof.net/uuid/uuidgen
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact:
- danharibo
- Minaton
- Posts: 997
- Joined: Sat Feb 25, 2006 8:14 pm
- Location: Wales, United Kingdom
- Contact: