Jump to content

  • Log In with Google      Sign In   
  • Create Account


Problem Installing Game Files on Windows 8


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
9 replies to this topic

#1 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 03 August 2013 - 02:38 AM

People who have been installing my game on Windows 8 say it does not install correctly and the game does not run.  I currently use the latest version on Inno Setup as the installation tool.

 

The issue is that I default the install directory to AppData\Local\ and install the files there. On Windows 7 this worked fine.  However on Windows 8 this does not seem to install the files correctly possibly due to permissions.

 

Originally I was installing the game into the "Program Files" directory like most normal applications, however my game constantly adds, removes, and modifies files, and the permissions for some users on Windows 7 machines were not being set correctly in their "Program Files" directory, thus the move to install it in the "AppData\Local" directory where it seems to work for all people playing the game.  The files installed in "Program Files" on Windows 7 would not have write/modify permissions on some machines thus the game would not work.

 

I guess I need to know where I should be installing files so that they can be installed and have the correct permissions?  Should I go back to installing them into the "Program Files" directory, and somehow override the permissions within Inno Setup?   Of course the game needs to run on Vista/Windows 7/Windows 8.

 

Thanks for any help.

 

 

 


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com

Sponsor:

#2 PeterStock   Members   -  Reputation: 371

Like
0Likes
Like

Posted 05 August 2013 - 06:12 AM

I think it's best to install to Program Files, but don't try to write to your program directory - use AppData for anything you want to write to.

 

http://stackoverflow.com/questions/1831810/is-appdata-now-the-correct-place-to-install-user-specific-apps-which-modify-t

 

There's a common (for all users) AppData directory too, which might be the place you want to use if you don't want the game data to be user-specific.



#3 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 06 August 2013 - 11:23 AM

That is a good post.  It is just a very strange issue, the installer and game works perfectly on Windows 7, but no matter where people install the game on Windows 8 it will not work.

 

If people wish to try the installer (or just want to try my game) you can get the installer at: http://www.crystaldragon.com

 

Or a direct link: http://www.crystaldragon.com/VantageInstaller.exe (the installer is <2MB as this just installs a patcher for the game)

 

I'll try having it install into the common apps directory, but I have a feeling it will be futile.

 

I really hope I don't have to go as far as buy and install Windows 8 just to test this out, but it may come to that.


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com

#4 Nypyren   Crossbones+   -  Reputation: 3693

Like
0Likes
Like

Posted 06 August 2013 - 01:20 PM

Perhaps it's a redistributable library issue, not a folder permissions issue?  Windows 7 and 8 behave pretty much the same as far as I can tell.

 

Either that, or everyone who's installed your game on Windows 7 has disabled UAC (which is a silly thing to do).

 

They're not installing on Windows RT by any chance, are they? ;)


Edited by Nypyren, 06 August 2013 - 01:21 PM.


#5 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 07 August 2013 - 12:16 PM

No, it is Windows 8 they are trying to install it on.  It could possibly be a library issue.  The game does use a MFC framework to run the game.  However it is not dynamically linked in but if the dlls are different in Windows 8 perhaps that is a problem.  However someone said they did finally got it working, but they had to play with "a lot" of settings, I am trying to get some information on what specifically that is.


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com

#6 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 07 August 2013 - 04:50 PM

It turns out that the files do install, but the program apparently does not run at all, no error messages or anything.

 

I have been getting a lot of reports of people I know whose programs are not running under Windows 8 and this is making me ask this question:

 

I am currently running and compiling my game on Visual Studio 2008 on Windows 7. Is it required that I need to compile my game on Windows 8 in order to get the game to run on windows 8?  And if so is this 100% confirmed?  I just want to try and avoid paying for Windows 8 and/or Visual Studio 2012, but if I must, I have no problem doing it.

 

 Or should I

    A. Update to Visual Studio 2012 on windows 7, which may compile the program to be compatible to Windows 8 since it is an updated version of VS.

    B. Find some type of update/upgrade to Visual Studio 2008 that may do the same as (A)


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com

#7 wintertime   Members   -  Reputation: 1601

Like
0Likes
Like

Posted 08 August 2013 - 09:06 AM

Before spending money without knowing what the exact problem is and without knowing if it would help, I would try finding someone who uses Win8 and asking to watch him/her trying to install it so you see whats going on and can help with fixing it.



#8 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 08 August 2013 - 10:21 AM

Yep, I have had several people testing it, and they said what I stated above, that the files install, but when they run the game nothing happens, they see the loading icon on the mouse for a few seconds, then nothing, the program doesn't launch.  I did get one report of a person finally getting it to work, but they said they had to change "alot" of settings.  I am not sure what they did as I am trying to still a hold of them to see what specifically the problem was. But obviously there is something I need to change in my code, or compiling options.


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com

#9 wintertime   Members   -  Reputation: 1601

Like
0Likes
Like

Posted 08 August 2013 - 10:28 AM

They just are not able to tell you the necessary bits, thats why you need to personally watch someone or try it yourself to find out which minor tweak makes your program run.



#10 Carradine   Members   -  Reputation: 253

Like
0Likes
Like

Posted 08 August 2013 - 02:32 PM

Yep ,that is most likely the next step.


--------------------------Vantage - 2006, 2008, 2009 Independent Games Festival Submission http://www.crystaldragon.com




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS