• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Carradine

Problem Installing Game Files on Windows 8

9 posts in this topic

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.

 

 

 

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0