I posted about this on App Game Kit board but did not get respons(Tier 1 publishing with Appup). I hope someone can help me here.
I order to get een AppGameKit tier 1 application published on the Intel Appup Store I have tried to follow the procedure discribed under
Guides >> Tier 1 >> Publishing with Appup.
(This is one of procedures descibed in the AppGameKit Manual --Tier 1 windows).
Publishing With AppUp
The above is fine if you simply want to publish your app without protection through your own distribution channels, but if you wanted your app protected and distributed through a store, then here is how to do it through AppUp. For more information on AppUp, visit: appdeveloper.intel.com
The following steps will guide you from the position of having a finished BASIC app, to having something you can submit to the AppUp Developer Website for inclusion in the store (an MSI).
First you need to duplicate the apps\interpreter folder and rename it to apps\yourapp_appup
The above will ensure you have a separate project to build your custom T1 BASIC interpreter
Use Visual Studio Express Edition to load the *_appup.sln project file
You will get a warning right away stating the project cannot be found, click OK twice
On the left 'Solutions Explorer' pane, Remove the interpreter_appup item
Right click the Solutions item, and select Add -> Existing Project
Nabigate to the newly created yourapp_appup folder and select the *.vcproj file
Right click interpreter_appup and rename to yourapp_appup
Change the Solution Configuration combo from Debug to Release (top of screen in toolbar)
Double click the yourapp_appup project item on the left pane to open the tree
Double click the AGK-KeepOut group to reveal the Core.cpp source code file
Double click Core.cpp to open this file for editing in the right part of the screen
Scroll down the source file until you find the #ifdef AGKPLAYER line
You will find a line commented out using the custom function 'pfnApproveApp'
Comment this line in and comment out the one below it to prepare the application for Debug mode
You can leave the string 'agkplayerrequiresprotecting', but you can change for better protection
If you change it, the returned 'iPasswordValue' will also change, so account for this in the IF
Further down you will find the line lpCmdLine = "-wait";
Comment this line out to read // lpCmdLine = "-wait";
You have now prepared the AppUp protection code for a Debug Mode test
Right click the yourapp_appup project item on the left pane and select Properties
Click the Linker tab to see the Output File field on the right
Delete the contents of the Output File field and type 'yourapp.exe'
The name 'yourapp' should be substituted with the name you've given your AGK project (exactly)
Click OK to confirm the project setting changes
Now right click the yourapp_appup project item and select REBUILD
If you get errors, ensure your yourapp_appup folder is located in the apps folder
The above error will happen if the 'relatively addressed' AGK headers cannot be found
If successful, you will find an executable in the yourapp_appup folder
Now you need to conduct your first debug mode test
Locate and download the 'Intel AppUp Software Debugger' downloadable from the AppUp dev site
Install and run the 'Intel AppUp Software Debugger' and leave in the background
Now locate the AGK project folder that represents your final app from the AGK IDE
This folder should have the media folder in there, as well as source (AGC) and project files (CBP)
Make a copy of this folder (to keep your original safe) and rename it with _appup on the end
You are now free to delete the source and project files from this copy of your app folder
Now copy the executable you have built from the above Visual Studio process into your app folder
You will notice that you already have an executable of that name, in which case overwrite it
The idea here is that you are using the EXE with the AppUp code instead of the default one from AGK
Your final AGK app folder should now be free of source files and have the new protected EXE inside
You also need to place the 'appupplugin.dll' alongside your EXE file too
You can find 'appupplugin.dll' in the apps\interpreter_appup folder
Once all the files are in place, simply run the executable to see your Debug Mode app running
If you toggle back to the 'Intel AppUp Software Debugger' you will notice your debug app being processed
This proves everything is working and that the AppUp protection is running in Debug Mode
The final stage is to produce a Release Mode executable for submission to AppUp Center
To do this, return to Visual Studio and locate the 'pfnApproveApp' functions
Comment out the first debug line and comment back in the second release mode line
This second line has four hex values which is collectively called our AppUp GUID
You need to replace this GUID with the one you obtain from the AppUp developer site
You will see this GUID when you select 'Start New Application' after registering for an AppUp dev account
Once you have registered, and started a new application on the site, and found your GUID
Return to Visual Studio and insert the GUID to replace the one that is already there
Once done, compile the project again and again copy the resulting exe to your final agk app folder
When you run your app this time, you will notice the 'software debugger' report Not Authorised
This error is normal and means you are not launching from within the AppUp store itself
You have now finished protecting your final agk app and are almost ready to create an MSI installer
When I try to compile the program I get the errors:
atlstr.h not found
atlimage.h not found.
I have tried to compile with:
Visual C++ Express 8
Visual C++ Express 10
Can someone Help me? Is there someone who has compiled the interpreter for windows succesfully with Visual C++ express.
Does resulting *.exe work together with the AppUp Software Debugger.
I know altstr.h and altimage.h are part of Active Template Library that does not come with the express versions.
http://forum.thegamecreators.com/?m=forum_view&t=188116&b=41
This link is probably relevant