Menu

#17 Windows installer is missing files

v1.0 (example)
open
nobody
None
5
2015-10-10
2015-10-09
No

I download the Windows package for 0.6.0 with JRE, made a clean install, and it doesn't get off the runway. Complains about missing files. Here is the console log:

C:\Program Files (x86)\GGC\bin>run_win.bat
Create Startup files
createFile failed: java.io.FileNotFoundException: db_tool.bat (Access is denied)

java.io.FileNotFoundException: db_tool.bat (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileWriter.<init>(Unknown Source)
at com.atech.update.startup.StartupFilesCreator.createFile(StartupFilesC
reator.java:270)
at com.atech.update.startup.StartupFilesCreator.createFiles(StartupFiles
Creator.java:203)
at com.atech.update.startup.BuildStartupFile.buildStartupFiles(BuildStar
tupFile.java:121)
at com.atech.update.startup.BuildStartupFile.<init>(BuildStartupFile.jav
a:85)
at com.atech.update.startup.BuildStartupFile.main(BuildStartupFile.java:
174)
=============================================================================
=== Startup/Update Manager FAILED on startup ===
=== Error on startup creation. Please contact Atech support ===
=== (support@atech-software.com). ===
=============================================================================
writeStartup. Error writing file: java.io.IOException: Access is denied
'db_check.bat' is not recognized as an internal or external command,
operable program or batch file.
'run_ggc.bat' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\GGC\bin>

Discussion

  • Andy Rozman

    Andy Rozman - 2015-10-09

    Actually "Access is denied" tells another story. It seems that your user has no rights to edit this directory...

    Which OS do you have? Version?

    GGC needs right to write into it's own directory. Installer should have made this directory writable for this users, but this doesn't work on all systems. I know that we had problem with this on Vista and after that it was fixed and it worked, at least I had no one complain... I tried 0.5.x on Windows 7 and it worked fine there.

    Let me know your OS and I will investigate if I have to do something with installer... again...

    Andy

     
  • Doug Collinge

    Doug Collinge - 2015-10-09

    I'm running Win7 here. It's a corporate machine so there may be fishy policies but the same thing happened on a plain Win7 machine I have at home.

    I'm going to try to install it somewhere else now.

     

    Last edit: Doug Collinge 2015-10-09
  • Doug Collinge

    Doug Collinge - 2015-10-09

    Ok, that worked. 0.6.0 now installs. It must be something about it going into Program Files. I'll try the same thing on my Win7 at home later.

     
  • Andy Rozman

    Andy Rozman - 2015-10-09

    Corporate machines have mostly limit what you can install (into Program Files). Can you try on your home machine in check what rights does your user have to directory where GGC was installed. Try just giving it Wrire right and then start GGC again... Perhaps I accidentally changed something in installer...

     
  • Andy Rozman

    Andy Rozman - 2015-10-09

    Actually I found the problem... I seem to have removed some code from installer script... I was making changes before release of 0.6.0 to installer script and it seems that I removed a importamt part which gives user right to write in install directory... I will make changes to install script and then I will send it to you.... To test it again...

     
  • Doug Collinge

    Doug Collinge - 2015-10-09

    Happy to test for you. I will not be able to test much next week because I have a pressing schedule.

     
  • Doug Collinge

    Doug Collinge - 2015-10-10

    OK, so the same thing applies to my Win7 box at home, which is non-corporate. I installed ggc in the Desktop folder and it works fine and even reads my meter properly.

     

Log in to post a comment.