Product Chat / After save standalone: If you run EXE on other drives and other windows ... you will see an error message !!! --- Issues # 347

Author
Message
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 17th Aug 2018 20:59
After save standalone: If you run EXE on other drives and other windows ... you will see an error message !!!

I made my own game - then I created a SETUP file - and I installed the game in the default drive.
Default drive address: C: \ Program Files (x86) or C: \ Program Files in Windows 10
The game was run with error ??? !!!
I saw an error while saving the game !!!
Eventually the game was broken and cut off !!!
I am very afraid !!!
I have researched and tested.
This is a problem when you copy or install the Game.exe folder in the following folders or in the default Windows drives.
C: \ Program Files (x86)
C: \ Program Files

Interesting point: When I installed or copy the game on other drives (other than the addresses listed): --- I did not see any problems in the run and was well implemented.

Issues # 347
amir

Attachments

Login to view attachments
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 17th Aug 2018 21:27
You are not supposed to put anything in those directories! They are managed by the windows installer.
Been there, done that, got all the T-Shirts!
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 17th Aug 2018 22:37 Edited at: 22nd Aug 2018 20:40
For what?
When I created a game. I want to prepare it with setup software like Advanced Installer for installation on other windows and drives.
GG software should have this power
To have an EXE output running on all windows and drives
When you create an installer with software such as Advanced Installer
To install Game, the default drive is suggested. For example, C: \ Program Files (x86)
amir
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 17th Aug 2018 23:56
You need to calm down. Ranting rarely achieves much.

Microsoft for many years now has separated executables from data and has wrapped policies within its OS to help with security and general purpose administration.

Typically software these days would not store its data in the same folder as its executable on versions of Windows after XP. This conforms with Microsoft guidelines.

Software that helps you create installers follow this pattern.

Game Guru stores data in sub folders of the executble (program files). Some of these folders require write access that are by default in install scripts set for read access only as per Microsoft guidelines and its default policies. For example to store ‘save game’ data.

Therefore you need to explore your installer configuration switches and set the folders for write access.

Ideally GG would natively store standalone data in program data folder or documents folder (as it does for screen shots) but there are ways to ensure permissions are set correctly so that running as administrator is not needed when you are installing to program files. In the same way as the GG steam installer does to enable the GG editor to run with write access to the folders it requires.

Changes to GG to change its storage pattern would take some thinking through to maintain backwards compatibility so is unlikely to be a quick fix. So if you are determined to create an installer into program files you will need to read up on your preferred installer configuration re how to set folder permissions for GG after the install of the exe.

If you are really serious about installing to those folders you should also invest in a code signing certificate - typically only given to companies after a registration process but you can get personal ones. Installer creation software also allows you to embed these as part of the setup creation by signing both the executable to be installed and the setup exe itself. But this is perhaps not needed for your purposes - some sales distribution outlets insist on code signed software though.

Cheers.
Flatlander
GameGuru Master
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Aug 2018 00:29
I did a stand-alone build of Morning Mountain Stroll. C:\ drive is the default drive for documents. I then went to my "data" drive D:/ created a folder called "Games" and copied the Morning Mountain Stroll game folder to that location. Everything works fine for me. I'll build "The Big Escape" as well since that is what you used.

FYI for those who use corrosion's module_combatcore.lua

He uses his own headshot.wav in the audiobank\corrosion subfolder and it will not copy over to the stand-alone game. You have to do that manually after the build.
Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 18th Aug 2018 01:14
Quote: "I made my own game - then I created a SETUP file"


As soon as i read this, I knew this was not a scenario to get all worked up about. Windows needs the proper certificate for software to run properly in those directories. Its a security feature of Windows itself. This doesn't appear to be an issue with the engine itself or your export per-say. Its more about your installer software your using. Might want to check out their forums (if they have any) and ask about for help there on this matter.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 06:48 Edited at: 18th Aug 2018 06:50
Thanks: Teabone
But...
You can independently copy files to this path: C: \ Program Files (x86) & C: \ Program Files
You see these error messages. .....
And from the installer soft side, there's no problem!

Thanks: Flatlander
Please copy and test on these drives: C: \ Program Files (x86) & C: \ Program Files
Of course on Windows 10.
amir
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 18th Aug 2018 08:02
There is no need to test anything, you have the answer, in great detail by cybernescence I might add!
Been there, done that, got all the T-Shirts!
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 18th Aug 2018 10:25
As said above this is not a gameguru issue, this is a windows certification, and a third party installer issue.
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 18th Aug 2018 12:01 Edited at: 18th Aug 2018 12:04
Maybe you should read the tutorial of advanced installer: https://www.advancedinstaller.com/user-guide/permissions.html
You need to set the settings like steam did it with his "common" folder(where all the games are located).
right click on your games folder -> settings -> security tab
folder need read, write, change permission.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 12:04
AmenMoses & Belidos
Your answer is not convincing!

All software in the world will be installed and executed in Windows default drives.
You create an installer from GG.exe
For example, with Softwares: Advanced.Installer or ClickTeam.Install.Creator.Pro. or Setup.Factory or Installshiled2018
They all offer the default Windows drive.
very well
Now what happens?

1. The people of the game are buying
2. They install Game
3- Maybe they install in the default Windows drive
4. Unfortunately, they will see an error message in running Game
5. They do not know anything about it.

What do you think they will say about this?

I do not really know !!!
And you say: The problem is not GG and is related to Windows signing.
Really surprising?

If you create a game with the UNITY engine, you will never have these problems.
I've tested several times on windows 7, 8, and 10 and other drives.
now
The GG team must test and fix the problem.
For a better future for GG ........................
amir

Attachments

Login to view attachments
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 18th Aug 2018 12:08 Edited at: 18th Aug 2018 12:15
If we do the same what unity do to prevent your problem with a simple solution, antivir software will ban your game, because it is unknown and tries to give him self more rights. Unity has a cooperation with microsoft.

I tested it and GG export the folder with the right permissions, so it is your installer programm.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 12:18
Thanks Corno_1
I hope that a good solution is found.
amir
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 18th Aug 2018 14:28
Quote: "Your answer is not convincing!"


It may not be convincing but it's still true, just because you don't like an answer doesn't mean it's wrong.

Quote: "I hope that a good solution is found."


There's already a solution, two in fact; 1: Get Microsoft to change their policies, 2: Learn to use the 3rd party installer properly.
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 14:35 Edited at: 18th Aug 2018 14:38
Belidos

Again, your answer is not convincing!
amir
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 16:08
Corno_1

Quote: "You need to set the settings like steam did it with his "common" folder(where all the games are located).
right click on your games folder -> settings -> security tab
folder need read, write, change permission."


Can you send this address more accurately and video?
amir
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 18th Aug 2018 17:51
Quote: "Again, your answer is not convincing!"


Again, whether you found it convincing is neither here nor there, it's true. Many of the flat earthers say they're not convinced science is right about the earth being round, but we all know they're whack jobs, if you can't listen to the advice almost everyone in this thread has give you then don't bother asking.
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 18th Aug 2018 18:36
Head and brick wall come to mind

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 19:13
I worked and tested
I hope to come to the conclusion.
And I'll give you an educational link.
amir
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 18th Aug 2018 21:27
very well
thanks all
I was able to fix my problem.
Thank you all for help
If I was upset and angry, I'm sorry.
I thank the tips Corno_1
I worked with Advanced Installer 15.2 and my problem was solved.
I installed and run all the paths and drives, fortunately, there was no problem.
I did not see any error messages.
Of course, I only tested on Windows 10.
Should do testing on Windows 7 and 8.

When I finish work، I'll post a video tutorial on this post.

Thank you all : AmenMoses - cybernescence - Flatlander - Teabone - Belidos - Corno_1
amir
Sanguis
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 10th Jan 2011
Location: Deutschland
Posted: 20th Aug 2018 00:33
Just one little hint: Install the game and then start it with Administrator rights, not just with one doubleclick. I think this will work.
In Advanced Installer you can edit the exe File that way, that it needs Administrator Rights to run. Then one doubleclick will be enough to run it.
Ratall
16
Years of Service
User Offline
Joined: 29th Jun 2008
Location: Not Here
Posted: 20th Aug 2018 09:15 Edited at: 20th Aug 2018 11:25
Hi guys
Just thought I throw in my 2 cents worth but from what I understand.

For security reasons you are not supposed to write or update files in the \ Program Files (x86) or \ Program Files directories when running a program but rather place thoses files that need updating in a subfolder under \users\ or \ProgramData\ or in a location selected by the user but definitely NOT where the executables (exe,dll etc) are stored as these directories should be protected from writing with out administration permissions. Using administration permissions when executing a program gives it the ability to change anything in the Program Files structure (NOT GOOD unless you want to install a virus or trojan)

for example

Steam keeps its' stuff in "\Users\username\Appdata\Local\Steam"

paint.net keeps its' stuff in "\Users\username\Appdata\Local\paint.net"

Blender keeps its' stuff in "Users\username\AppData\Roaming\Blender Foundation"

Atalassian(sourcetree) keeps its' stuff in "\Users\username\AppData\Local\Atlassian"

Pixologic keeps its' goz stuff under "Users\Public\Appdata\Pixologic"

Daz3d keeps its' stuff under "\ProgramData\DAZ 3D" and "\Users\username\AppData\DAZ 3D"

Poser for poser 11 pro keeps stuff under "\ProgramData\Poser" and "\Users\username\AppData\Poser Pro"

Adobe really spreads its' data about
"\ProgramData\Adobe" , "\Users\username\AppData\Local\Adobe", "Users\username\Appdata\LocalLow\Adobe", "Users\username\AppData\Roaming\Adobe"

Most popular place appears to be under "Users\username\AppData\Roaming" and/or a directory in one of the documents folders( the Appdata directory usually contains init data including the location of the other directories used)

Where username is the username the program is installed/run under.

They all have different approaches but one thing nobody does is place updating files in with the executable in the \ Program Files (x86) or \ Program Files structure.

I think GG should provide a entry in one of its set up files to move files that are update in background to a directory specified in the entry when creating a standalone. that way people creating installers for their standalone games can hive that stuff of and put it some where sensible while placing their executables where windows can attempt to look after them with out compromising security.

Anyway that just my take on it.

Rick
“Everything should be made as simple as possible, but not simpler.”
Albert Einstein
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 20th Aug 2018 10:44
sometimes, there's no telling some people. They end up having to learn the hard way ha
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 22nd Aug 2018 11:31
I work with Advanced Installer 15.2 and I'm testing
I fixed my problem with Windows permissions for the exe file
I was able to make a good installation file
I have no problems with Windows 10 and I'm testing on Windows 7 and 8

Attachment image shows access permissions.
Of course, the test result in Windows 7 was good and there was no problem.

However:
Maybe you can find a better solution or access additional Windows permissions for GG manager.
This was just a test for me.
amir

Attachments

Login to view attachments
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 22nd Aug 2018 13:01 Edited at: 22nd Aug 2018 13:06
Perhaps your just using the wrong software .
I used " Install Creator Pro" without any problems whatsoever.
And runs without issue ..




I also think the User should be able to specify where he wants to install it like so.



The only person ever to get all his work done by "Friday" was Robinson Crusoe..

Attachments

Login to view attachments
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 22nd Aug 2018 15:09
Hi synchromesh
Install Creator Pro is good
But there are problems:
1. It's a bit old and simple And not advanced
2. It does not support all languages and should manually change the conversation text
3. There are few possibilities
4. Does not support all operating systems
5. Does not support all programming languages
6. There is a data source and a simple registration code
7. Does not compress the files properly.
8. Most importantly, Windows 10 detects it slowly and very long
For example . Test it on Windows 10
You will see which setup.exe will run long.

I worked with Install Creator Pro.
ot suitable and advanced.

My suggestion is Advanced Installer.
Advanced Installer is a robust and well-advanced software
And all Windows and platforms and programming languages support
And many companies use it.
And supports all languages in the world automatically
It automatically changes the text of the dialogs
And advanced registration
And themes are abundant and beautiful and advanced
And it's very easy to work with

I think Advanced Installer is a complete and correct software
Try it out.

also :
As I said, you install in Windows 10 and in this directory: \ Program Files (x86) or \ Program Files
I mean with Install Creator Pro
And whether the error message you see?


amir
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 22nd Aug 2018 15:41 Edited at: 22nd Aug 2018 15:42
Quote: "As I said, you install in Windows 10 and in this directory: \ Program Files (x86) or \ Program Files
I mean with Install Creator Pro"

Umm Piccys above … No issues runs perfectly

Languages ..
Doesn't really matter IMHO as all the text and voices in your GameGuru game will be in the language you created it ( Default English )
And you can get Language templates for Creator pro anyway but whatever the installer language the game will be the same

Does not support all operating systems..
Well that's wrong … This product is compatible with Windows 98SE, Me, NT 4, 2000, XP, Vista, 7, 8, 10

Windows 10 detects it slowly and very long.
Works fine for me … Instant installation so no idea what you mean ?

Anyway its personal choice but I get don't get error messages and it installs perfectly and adequately without the problems you seem to be getting .. If you decide to sell via steam you wouldn't need one at all
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 22nd Aug 2018 20:35
Hi synchromesh
Thank you

I just gave you a suggestion to use the Advanced Installer
You are free to choose and you can choose an application for the installer.
I wrote this is just my test.
People may have this problem or not.
We can guide them. Just.
They choose.
In the top post I wrote that my problem has been fixed.
Of course, using the Advanced Installer 15.2 software.
I tested on Windows 10 and 7, and I had no problems running the game.
I also created the game with GG. Of course, with a trick to Farsi language.
So, the installer should be in Farsi language.
Maybe people want to build their own language game.
For example: Arabic or Japanese or Indian or German and French and ....
I do not want to sell the game in steam.

Anyway:
The problem is not the installer software.

----------------------- I wrote this post for a change. Perhaps a better change in the core of the GG engine.-----------------------------------------------------
amir
SHAHIN3D
7
Years of Service
User Offline
Joined: 8th Sep 2017
Playing:
Posted: 22nd Aug 2018 20:47
Thanks to everyone for guidance.
My science was low on this.
And from these posts, my science got better on this.
Thanks again to all friends.
amir

Login to post a reply

Server time is: 2024-10-06 16:28:38
Your offset time is: 2024-10-06 16:28:38