Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Intel Competition / Intel AppUp problems or questions? Ask or discuss them here...

Author
Message
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 14th Oct 2010 16:48 Edited at: 14th Oct 2010 17:01
Hum, I thought it would be best to start a thread that focusses on the problems or issues that come with submitting our games on AppUp. There's lots of information that people should know, but got on various other threads, and that doesn't help much. I think it is better to put all our problems under one roof, so that the information people give, are easily found.

So, I'll start of with a problem. The validation suggests that our games are uninstalled properly and completely upon removal. So, that's my problem, because my game makes two files (exe's) to work with (settings, etc...).
The msi uninstalls it completely, ONLY if the game hasn't been run. So, does anyone know of a way to uninstall files that were made after the installation? Any help is much appreciated.

<EDIT>
Hum, on second thought, maybe I could just make those files and put them already in the .msi, instead of making them on the fly.
So, that kinda solved my 'enormous' problem. Whahahaaaa! Sorry.

Oh well, don't let that stop you from discussing your problems/solutions, right? That's what this thread is all about anyways...

Thanks in advance

Slayer rules!!! Yeaaah, man!
budokaiman
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 14th Oct 2010 17:03
Quote: "The msi uninstalls it completely, ONLY if the game hasn't been run. So, does anyone know of a way to uninstall files that were made after the installation? Any help is much appreciated."


One workaround that I can think of (as I have never used the .msi creation tool that you are using) is to add blank files taht have the same names as the ones that you will be creating, and then either appending them in game, or deleting the blank ones and creating new ones. Assuming that the naming convention isn't based off of user input.


Mystic-Mod: Putting the fear back into sliced bread since 4th May 2010
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 14th Oct 2010 17:09
Quote: "then either appending them in game, or deleting the blank ones and creating new ones."

Yep, that's not such a bad idea, budokaiman! Worth a try. Thanks!

Quote: "I have never used the .msi creation tool that you are using"

Which one are you using, btw?

Slayer rules!!! Yeaaah, man!
budokaiman
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 14th Oct 2010 17:23 Edited at: 14th Oct 2010 17:24
Quote: "Which one are you using, btw?"

None, as I never made a game for the comp


Mystic-Mod: Putting the fear back into sliced bread since 4th May 2010
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 14th Oct 2010 22:12 Edited at: 14th Oct 2010 22:14
Oooh, I didn't know about that problem! I hope the msi created by visual studio is a bit smarter as my latest submissions are built on VS2008...

Nice idea for a thread The Slayer. In the spirit of this:
If your game uses IanM's Matrix Utilities make sure you include the attached dll's in the application folder!! VITAL!!

The validation error will mention msvcp71.dll or msvcr71.dll

Alternatively you can find them in IanM's first post here:
http://forum.thegamecreators.com/?m=forum_view&t=85209&b=18

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 20th Oct 2010 01:52
Well, I've got my second error today. I was expecting this. I think it's the same error baxslash got?
Does anyone has a clue about this error and what needs to be done?
Here it is:

Quote: "
Overall Results for BRIXOID
Fail
We are sorry to inform you that your application has not passed binary validation on Windows XP and Windows 7. Please see the validation details below and make the necessary corrections. Please also see the article on beta testing: http://appdeveloper.intel.com/en-us/article/beta-testing and beta test your application using AppUp prior to resubmission. Thank you!
Test Results for Windows 7
ILU01 - Application install: Pass
Associated Files:
145662_267815f6-7b49-4551-8604-f2140b4a04ab.xml
ILU03 - Application launch: Fail
Application does not launch from the AppUp client. The application installs and launches natively but not from within AppUp client. A description of the application’s behavior is listed below. An error is received if the user attempts to launch the application via the App Up client. Please see packaging requirements located here: http://appdeveloper.intel.com/en-us/article/packaging-requirements and troubleshooting tips located here: http://appdeveloper.intel.com/en-us/article/troubleshooting-validation-failures and confirm that your .msi meets the requirements. The application must be configured to be able to locate its resources when being launched from anywhere on the netbook. Please check your application resource paths.Associated Files:

Test Results for Windows XP
ILU03 - Application launch: Fail
Application does not launch from the AppUp client. The application installs and launches natively but not from within AppUp client. A description of the application’s behavior is listed below. An error is received if the user attempts to launch the application via the App Up client. Please see packaging requirements located here: http://appdeveloper.intel.com/en-us/article/packaging-requirements and troubleshooting tips located here: http://appdeveloper.intel.com/en-us/article/troubleshooting-validation-failures and confirm that your .msi meets the requirements. The application must be configured to be able to locate its resources when being launched from anywhere on the netbook. Please check your application resource paths.
"


Thanks in advance

Slayer rules!!! Yeaaah, man!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 20th Oct 2010 10:24
I have that error for Soma and The Last Stand and I was assuming it's because I was using the same "Unique Number" for all three games. I now have a new "Unique Number" for these two games for re-validation but I don't know for sure if that was the cause...

These error messages aren't very helpful!

Quote: "An error is received if the user attempts to launch the application via the App Up client."

OK but what error?, maybe if they told us it would be easier to track down the cause... you'd think they don't want our Apps to pass validation or something...

MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 20th Oct 2010 13:51
Intel updates the validation guidelines about once a month these days - which can cause a few issues with their third party validation team. It is REALLY important that you reread the validation guidlines whenever they are updated - eventually you'll know them off by heart and think rereading isn't necessary, but it is. The main reason for doing this is because the validation team can and does get it wrong sometimes. I've called them out three times so far.

Be smarter than they are and read up. The validation feedback will mean so much more to you if you're an expert at their error codes.

Also, each program needs it's own guid and password without question. Treat all your projects entirely separately without any kind of real-world link. The tutorials on tgc and intel forums do work - but you have to make allowances for your own tricks if your working outside the lines (like online or something). Either way, make sure you implement your security code in the right order (don't go changing your password half way through testing or anything like that) and don't mess around with multiple guid inputs. Write it all in the correct order and compile it only once - it should work if your installer is functional.

Powerboard Productions - find the site yourself.
Matty H
17
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 20th Oct 2010 17:21
I failed for exactly the same reasons.
I'm not going to deal with this today though, I'm gonna take MMM's advice and read up alot and really understand why this is happening to everyone before I re-submit. I will post here if I find the solution.

Quote: "The tutorials on tgc and intel forums do work"

@MMM - Do you know of someone who has used War setup and followed the vid and had success with their game?

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 20th Oct 2010 18:03
Quote: "I have that error for Soma and The Last Stand and I was assuming it's because I was using the same "Unique Number" for all three games."

Hum, not sure that would cause these errors I just got, though. Your SearchLite game went through without a problem, so there must be another thing causing this error.

Quote: "Also, each program needs it's own guid and password without question. Treat all your projects entirely separately without any kind of real-world link. The tutorials on tgc and intel forums do work - but you have to make allowances for your own tricks if your working outside the lines (like online or something). Either way, make sure you implement your security code in the right order (don't go changing your password half way through testing or anything like that) and don't mess around with multiple guid inputs. Write it all in the correct order and compile it only once - it should work if your installer is functional."

Yeah, each application needs a different GUID/password, but I did everything like in Lee's vids, in the right order, and the .msi installer does it's job fine on my machine, so I'm baffled why they've got these errors.
The only problem(s) I see, are:
1) I used the previous version of the iADP_ATDS to compile and check my game the first time, but the second time (I re-submitted) I used the latest version. Maybe I should redo everything related to the password and the GUID (change the password and redo everything else)?
2) War Setup doesn't work properly?
3) The following merge modules need to be included in the .msi ??
- Microsoft_VC90_CRT_x86
- Microsoft_VC90_DebugCRT_x86
- policy_9_0_Microsoft_VC90_CRT_x86
- policy_9_0_Microsoft_VC90_DebugCRT_x86

Quote: "Do you know of someone who has used War setup and followed the vid and had success with their game?"

I think baxslash's game SearchLite was done in War Setup, and it went through?

Slayer rules!!! Yeaaah, man!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 20th Oct 2010 18:23
Quote: "I think baxslash's game SearchLite was done in War Setup, and it went through?"

No, sorry. I was told by Intel that 'Soma' had passed (which was done on War Setup but it turned out they were mis-informed by the Validation Team...

All of my games are still in the validation process

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 20th Oct 2010 20:40
Quote: "All of my games are still in the validation process"

Sad to hear. So, we're back to square one, I guess? Has anyone already succeeded on getting their game(s) validated using War Setup as the .msi builder?

Hum, I'm just guessing, but maybe this could solve the problem?



Does anyone know if we need these merge modules included in our .msi? These modules are the C++ runtime modules, so does the AppUp or DBPro need them?

Anyone?

Slayer rules!!! Yeaaah, man!
MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 21st Oct 2010 02:53 Edited at: 21st Oct 2010 02:58
If you're using an old SDK (pre sep 15) then your application will install fine (because the installer has nothing to do with the security code) but it'll fail it's security checks. The only real way you could use a new version of the SDK is to get a new 'unique number' for your program - but the number comes late in the process if you do your security code right, so you have to redo your whole security system when they upgrade the SDK. This is why you should always leave your security code until last - so that you won't change anything half way through.

In sumarry, security problems are usually about mixed up passwords, guids and uniquennumbers and if that's not that case, it's usually about the SDK version. SDK problems and the terms of use involved are covered on Intel's website - part of that massive reading thing I mentioned earlier.

As for those merge modules - include them. You shouldn't really need to but do it anyway in case this new directx/Linux thing takes off and we start distributing our games on that OS. It's more about preparation than necesity. Most apps use c++ for code, which is why Brian at Intel will say you need these modules.


Edit: it is also possible war doesn't work right but I can't immediately see how that would affect the app security. The two things are largely unrelated.

Powerboard Productions - find the site yourself.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 21st Oct 2010 10:40 Edited at: 21st Oct 2010 10:41
For anyone wanting to use VS2008 for their installer here is a PDF of the guide by Brian at Intel.

PDF Guide to creating an installer using VS2008

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 21st Oct 2010 20:31
Quote: "If you're using an old SDK (pre sep 15) then your application will install fine (because the installer has nothing to do with the security code) but it'll fail it's security checks. The only real way you could use a new version of the SDK is to get a new 'unique number' for your program - but the number comes late in the process if you do your security code right, so you have to redo your whole security system when they upgrade the SDK. This is why you should always leave your security code until last - so that you won't change anything half way through."

I used the older version the first time I submitted my game, and the second time I used the newer version, but with the same password and GUID. Maybe that's causing the problem?
So, what do you suggest, MMM?
That I redo everything related to the security, with a new password and GUID?

Cheers

Slayer rules!!! Yeaaah, man!
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 21st Oct 2010 20:36
Sorry for the double post.

So, the Visual Studio trial works for 90 days, and can be used for creating an .msi, right? But what after those 90 days? Does our .msi installer package stops working after that period too?
Does anyone know?

Thanks

Slayer rules!!! Yeaaah, man!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 21st Oct 2010 21:45
Quote: "So, the Visual Studio trial works for 90 days, and can be used for creating an .msi, right? But what after those 90 days? Does our .msi installer package stops working after that period too?
Does anyone know?"

I think you just won't be able to make any more installers...

MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 22nd Oct 2010 02:29
Yeah, msi files you've already made will continue to work but you wong be able to make any more with the product number you downloaded - you'll feel like buying it once you use it anyway. Your choice.

As for security code, I imagine you have used an old sdk to write the code with your password and your guid and a unique number given to you by the sdk, then upgraded the sdk to get a new unique number? If I remember correctly, you need to input the password, then obtain the unique number, then input the guid. If you're editing this half way throught with new numbers, there is a chance you're not following the process to the letter - I don't know why we have to do that exactly but I imagine the unique number and password are part of a two key security system (so they must be done in sequence) and that the guid is just a product number (so it is done last to allow for debugging as well). Either way, this is how I do it and it's work three times so far. You don't need a new guid but you might need a new password and unique number - be sure to put them in order.

If that doesn't work... And it should... Perhaps there is some other force at play. Don't sweat it though. We often forget tiny things like these in the heat of production.

Powerboard Productions - find the site yourself.
Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 23rd Oct 2010 00:10
I Got my second failure using WAR, I think the best way for us would be to use the beta test thing, unfortunately I have had to return the netboook that I had borrowed for testing, so have decided to put re-submission on hold until I have a way of beta testing on Appup before final submission.

However, baxslash it is in your, TGC and Intel’s interest to get your games on there as soon as possible. Perhaps submitting them to be published through TGC would be a way forward?

http://forum.thegamecreators.com/?m=forum_view&t=166752&b=1

Goodluck and keep us informed of your progress.

MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 23rd Oct 2010 03:12
Jammy, which error code did they send you this time? If it's still security related, we might just have to accept it's not the installers fault. However it did occur to me that security validation will not work if you instal the exe outside of the programs folder on the target computer - I can't imaging why it wouldn't but it should be customisable enough to allow for human error. Does this apply to you?

Powerboard Productions - find the site yourself.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 24th Oct 2010 20:28
Quote: "However, baxslash it is in your, TGC and Intel’s interest to get your games on there as soon as possible. Perhaps submitting them to be published through TGC would be a way forward?"

I considered that but it's too late now as I'd have to re-name the games to do that.

They'll be up there soon enough though!

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 24th Oct 2010 23:43
Quote: "However, baxslash it is in your, TGC and Intel’s interest to get your games on there as soon as possible."

I think that goes for every game made for this contest, or any games that will follow, made by forum members.

Quote: "They'll be up there soon enough though!"

Are you still gonna try with War Setup, baxslash?

I think it would be in everyone's interest that al those who used the War Setup for creating their .msi, to post screenie(s) that shows their setup in War Setup. That way, we can evaluate and compaire each setup, to try and find the right setup needed for submition.

Cheers

Slayer rules!!! Yeaaah, man!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 25th Oct 2010 11:13
Quote: "Are you still gonna try with War Setup, baxslash?"

Not at the moment, I'm using VS2008 and trying to find a cheap copy at the moment so I can use it at home too. Time I bought it anyway I think!

If I go back to it I'll post any advice I have though.

Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 25th Oct 2010 19:13
I am still trying to get War setup msi validated but without success. I have however found a small validating program that identifies errors prior to submission.

http://appdeveloper.intel.com/en-us/node/1324

Unfortunately it doesnt give too much help once the errors have been identified but I think you will be surprised at the errors it picks up that we as a forum havent solved yet. I think its a case then of searching the Appup forum for solutions to the identified errors.
If anyone tries this program and gets any success in solving even one error, can they post it here. If we all work on it we will eventually get zero errors and hence should pass validation next time.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 25th Oct 2010 22:02
Nice, and it works in about 1/2 a second... unlike the validation team. However I just tried it on two of my msi's that failed and it passed them both.

It might help people to spot something simple though.

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 25th Oct 2010 23:34
Quote: "Nice, and it works in about 1/2 a second... unlike the validation team. However I just tried it on two of my msi's that failed and it passed them both."

Yep, it's a fast program. It spotted three errors on mine. Back to work, I guess?

Quote: "If I go back to it I'll post any advice I have though."
Quote: "I am still trying to get War setup msi validated but without success."

That's why it would be best that everyone who used War Setup, should post the setup (screenie) of their game in War Setup, so we can compare each setup, and search for simular settings. Maybe we can find the good setup that way?

Cheers

Slayer rules!!! Yeaaah, man!
MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 26th Oct 2010 03:30
I think this problem is getting a little beyond my control - mainly because I believe the solution is very simple. There's just no way to test that without everyone's data.

Juney is right though - I'm certain pretty much every problem you'll encounter is covered on the IADP forum, you just need to read for a few days to find it. If you read the AppUp validation criteria line by line, pay attention to the packaging guidelines, then stick to those instructions by the letter, you can't go wrong. If you think you are doing this already, try starting the packaging/security process again from scratch and attempt to follow the guides step by step.

The validation test program Juney posted is also a bit old - which might explain why it successfully validates failed Apps, seeing as the validation criteria is always getting updated. Remember to read the whole criteria whenever they update it - sign up for email alerts so you never miss an update.


Remember when packaging an msi file:

- Name your msi without any special characters or spaces
- Assign shortcuts to the user's desktop AND programs list (for uninstall)
- Name all shortcuts after your App and don't use any special characters
- Structure all folders in the App's folder appropriately
- Always keep your exe in the App folder (not a sub folder)
- Always run installation silently
- Always include the Oct2006 DirectX libraries and run the DirectX 'setup' silently during install
- Always install your App on a netbook for testing (check the folder structure)


When checking validation results

- Note the error code
- Note the error code
- Cross reference the error code
- Cross reference the error code
- Cross reference the error code
- Search the error code on the IADP forums
- Read ALL search results beyond Sep 16 2010
- Make changes - important!
- Test changes - more important!
- Update the version number
- Resubmit
- Always include 'notes to the valiation team' describing what you changed and include a summary of the previous error notification (they are authorised to skip some of the process if you do this)
- If that fails, ask me


It's important to believe the problems you're having are due to human-error. After all, that's the only problem you can actually fix.

Powerboard Productions - find the site yourself.
Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 12:51
The Slayer
Quote: "It spotted three errors on mine."

and

Quote: " it would be best that everyone who used War Setup, should post the setup (screenie) of their game in War Setup, so we can compare each setup"


I agree that this is a good idea, but ideally from someone who has succeeded, otherwise we would be copying errors. I have basically followed yr previous screenies but I get a lot more errors in the little validation program than you,mainly sq bkts [], so I dont think putting mine up would benefit anyone.
I do have a couple of questions with your earlier screenies though, maybe you could help and this may reduce my errors.
1) Under Features / Program / Directories you dont include the main Brixoid directory, is this right?
2) Do you have a screenie of yr features / Program / Shortcuts?
TGC "mycoolgame" lists this in a "[personal folder]". I dont get this, what settings have you used.

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 26th Oct 2010 13:57
Quote: "Under Features / Program / Directories you dont include the main Brixoid directory, is this right?"

Yep, that's right. But, I don't think that this is the correct way.
Lee did only include the main game folder in there, so I'm curious, did anyone do it exactly like in Lee's example, or not? Because, if no one did it like that, it could possibly solve all our problems.

@Juney,

How did you do it? Exactly as in Lee's example?

Slayer rules!!! Yeaaah, man!
Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 14:27
Quote: "How did you do it? Exactly as in Lee's example?"


Yes, I put my main ASX folder, image, sounds and score folders here.
But it still failed validation somewhere.
Can u put a screenie of your "shortcuts" tab up for me to look at. this tab puzzles me.

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 26th Oct 2010 15:14
Quote: "Yes, I put my main ASX folder, image, sounds and score folders here."

Yes, but did you put only the main folder (which includes all your other folders) in there, or did you include them all as seperate folders? A screenie would be nice.
Lee put everything in one folder, and then put only that folder in the 'Directory' tab. Maybe that's the correct way?

Quote: "Can u put a screenie of your "shortcuts" tab up for me to look at. this tab puzzles me."

I didn't put anything in the shortcuts tab. But, I have a screenie of how my shortcut is set up. I set a shorcut to my game executable directly in the Files tab (see screenie):

Slayer rules!!! Yeaaah, man!
Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 16:13
Quote: "A screenie would be nice"


I have 2 screenies for you, the 1st the Directories, which if correct, may suggest that the individual folders holding images,sounds and score should not be added seperately.




I also started a help thread at Intel forum asking if anyone had been succesful using war setup. Still early days yet but their "mod" suggested downloading orca.msi and then running orca.exe to analyse our msi's. We may have bitten off more than we can chew cos it looks like we may have loads to do yet. Here is a screenie of the results of my msi using orca. I picked 1 component out which is my main exe which this suggests has 2 problems. Not sure if i am able to fix this yet.



Tell me what u think

Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 16:16





Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 16:17
drat, pics not showing. I'll try the browse.

Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 16:18
and here is orca

Jimpo
21
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 26th Oct 2010 18:42
Juney, setting 'recurse' to true on your main directory will automatically include your sub-directories for media. The way you had it setup in your screenshot will just have it make 4 separate folders, but not keep the proper hierarchy.

Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 19:25
Many thanks for that Jimpo. Its these small but extremely significant changes that we are all looking for.
Have you successfully managed to get an App validated using War setup?

Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 19:30
Do I need to list the sub-dirs, i.e images etc, or will the recurse set to true auto detect the sub-dirs from within.

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 26th Oct 2010 19:53
Quote: "The way you had it setup in your screenshot will just have it make 4 separate folders, but not keep the proper hierarchy."

Yep, that's what I'm trying to say. I think it only needs one main folder with all your subfolders in it. I did it wrong too, I guess.

Slayer rules!!! Yeaaah, man!
Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 26th Oct 2010 20:00
Quote: " I think it only needs one main folder with all your subfolders in it."


Well that could be another problem sorted, and it makes it a bit easier to make another msi next time in just adding the 1 main directory.

Jimpo
21
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 27th Oct 2010 01:20
Quote: "Do I need to list the sub-dirs, i.e images etc, or will the recurse set to true auto detect the sub-dirs from within."

It will automatically detect all sub-dirs.

Quote: "Have you successfully managed to get an App validated using War setup?"

Not yet, my project is still being validated.

MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 27th Oct 2010 04:20
If that were the problem, why would many of these programs run locally when using the same installer?

Powerboard Productions - find the site yourself.
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 27th Oct 2010 13:02
Quote: "If that were the problem, why would many of these programs run locally when using the same installer?"

What do you mean exactly, MMM?

Cheers

Slayer rules!!! Yeaaah, man!
MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 27th Oct 2010 15:46 Edited at: 27th Oct 2010 15:57
Well if your folder structure is incorrect, two results can occur from running your executable: the game will either run or it will not. Those two results are entirely unrelated to your game being able to run locally on a target computer but not in the target appup client - which is apparently the case with a few of the previous posters' submissions.

Simply put, your game should not be able to run without the AppUp client. That is precisely the reason we have the AppUp security system - so that punks can't steal your property and run it whenever they like. By the same token, if your game can successfully run outside the AppUp client (which is what they mean by 'locally') then your security coding is pretty obviously incorrect. If your security coding is incorrect, your game will not be able to run inside the target AppUp client - no matter what your folder structure is.

I guess I'm flogging a dead horse by posting this again but it is very likely most of the failed submissions discussed in this thread (and others on this board) are due to incorrect security coding - not the msi setup. That doesn't mean there aren't problems with your msi setups, but no amount of correct msi setup will account for incorrect security code.


So maybe figure that one out first?


EDIT:

Ok, I'm breaking my own rules here but I just realised I've only assumed everyone is doing this bit right until now. Everyone is using this, right?



Powerboard Productions - find the site yourself.
Battoad
AGK Developer
19
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 28th Oct 2010 11:51
I've done everything that MMM suggests with security code, but war setup still fails as a msi installer. In the test/edit msi programs I have used, orca and validatesetup, it makes it clear that in the war msi installer you must not use [ ] square brackets. This means it is fine until you need to add the shortcuts which I beleive is the main reason why everyone is failing. Unfortunately warsetup does not allow certin characters such as \ so it is therefore impossible to replace the square brackets with a full path.

Conclusion : Warsetup cannot be used for Appups.

p.s (please prove me wrong)

MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 28th Oct 2010 16:02
Well that's a revelation. I'll check around for documentation on the fact.

Powerboard Productions - find the site yourself.
Matty H
17
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 7th Nov 2010 02:35
Hi everyone, see some people having success with trial version of VS2008. I think I will do the same.
Just briefly looking through the instructions on the appup site I come across this:

Quote: "This step is critical for validation. The ATOM SDK requires the C++ Runtime to execute. Fortunately our Setup and Deployment project makes this an easy addition. Right click on your Setup and Deployment project in the Solution Explorer and choose Add -> Merge Module. You want to add two merge modules, one for CRT Release, and one for CRT Debug. These are labeled:

Microsoft_VC90_CRT_x86.msm
Microsoft_VC90_DebugCRT_x86.msm"


This has been mentioned before but no-one really had the answer. Could this be the problem, maybe, maybe not.
I'll post back with my progress in a couple of weeks.

If there is still anyone who can't get their game validated and mine passes validation I will be happy to create the MSI for them, just people from the competition though, providing mine passes otherwise there would be no point.

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 7th Nov 2010 03:09 Edited at: 7th Nov 2010 03:10
Here's something else I picked up straight from the AppUp forums:

Quote: "
CRT Runtime Policy Merge Modules - Visual Studio 2008 Package and Deployment
Submitted by BrianDevArch on 24 Dec 2009 05:57:49
in CRT C++ Runtime Deployment Merge Module Visual Studio
A tip that may help Windows developers in their Visual Studio Package and Deployment projects.

As we all know by now, we must include the CRT Runtime (C++ Runtime) in our MSI installer.

When you add your CRT Merge modules (for debug and release), do not forget to add the corresponding policy merge modules. If you forget these, the CRT Runtime will not install correctly and you will experience a variety of error messages.

Examples of policy files:

policy_9_0_Microsoft_VC90_CRT_x86.msm
policy_9_0_Microsoft_VC90_DebugCRT_x86.msm
"


Like I mentioned before, I suspected that these files need to be in the .msi too. You'll need these files (the ones you mentioned):

Quote: "
Microsoft_VC90_CRT_x86.msm
Microsoft_VC90_DebugCRT_x86.msm""


along with these:

Quote: "
policy_9_0_Microsoft_VC90_CRT_x86.msm
policy_9_0_Microsoft_VC90_DebugCRT_x86.msm
"


I wonder if the .msi we created at first with War Setup would have worked with these modules included.

On top of that, after a LONG search on the internet, I found another FREE .msi installer package. The FREE version has all the features as in the full registered version, except that after install, it shows a window telling that it is the free version. The registered version only costs $49 for a SINGLE user license. It can be found here:

http://www.witemsoft.com/

Cheers

Slayer rules!!! Yeaaah, man!
MMM
17
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 7th Nov 2010 03:19
Quote: "Microsoft_VC90_CRT_x86.msm
Microsoft_VC90_DebugCRT_x86.msm""
policy_9_0_Microsoft_VC90_CRT_x86.msm
policy_9_0_Microsoft_VC90_DebugCRT_x86.msm"



These runtimes are included in the C++ package with the AppUP dev kit. But remember that DarkBasic is not a supported AppUp dev language and that all supported languages will require these runtimes. Whether or not these runtimes are required by DarkBasic or whether they are required for .msi files to work is still not known for sure.

I have always suspected neither is the case. However, the modules are pretty much non-existent in size so it doesn't hurt to include them anyway - just in case we do eventually get our games working on Linux. Who knows? I have always included them and always passed validation - but that's not necesarrily due to the inclusion of the modules. Hell, WAR might even include them automatically if they really are required.

Powerboard Productions - find the site yourself.
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 7th Nov 2010 03:42
Quote: "Hell, WAR might even include them automatically if they really are required."

No, War Setup doesn't add them automatically. But still, it can't hurt to put them in aswell. There's still no explanation why .msi's created with VS pass validation instantly, and those made with War Setup do not.
I may be wrong, but I think VS adds those merge modules automatically.

Cheers

Slayer rules!!! Yeaaah, man!

Login to post a reply

Server time is: 2026-06-09 17:47:16
Your offset time is: 2026-06-09 17:47:16