* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Issues with .zip file extraction  (Read 837 times)

0 Members and 1 Guest are viewing this topic.

Offline Luxen

  • New User
  • Join Date: Sep 2015
  • Location: Yorktown, Virginia
  • Posts: 17
  • Post Rating Ratio: +0/-0
  • Gender: Male
Issues with .zip file extraction
« on: May 11, 2016, 11:23:52 pm »
I was working on a tool for a game I've been (overly) engrossed in recently, and ran into an issue.

The software I was developing failed to unzip a .zip file; the utility used to unzip the files is from an external source, so I don't have control over it, merely I tell it what to unzip and where to unzip stuff over the command line.

Im able to get the software to work on my computer, but it didn't work on others. My guess is that security on my computer is lowered a tad, allowing the utility to unzip files to otherwise protected areas (namely C:\Program files\Vendetta\ ); is anyone familiar enough with windows to confirm? is there any good way to get around this, so the software works (even if I have to use a different method for extracting files)?

Here is a link to the program itself, though it wont run properly without the game installed:
https://www.vendetta-online.com/x/msgboard/16/31392


  • Calculators owned: TI-83, Ti-83+, Ti-84+, Ti-84+CE, TI-86, Casio Prizm

Offline Luxen

  • New User
  • Join Date: Sep 2015
  • Location: Yorktown, Virginia
  • Posts: 17
  • Post Rating Ratio: +0/-0
  • Gender: Male
Re: Issues with admin priviledge detection
« Reply #1 on: May 17, 2016, 11:31:34 pm »
alright, so I found a number of bugs and fixed them, and now there is only one issue remaining with the utility (that I have found); If the user doesn't run the application as administrator, then it cannot extract to the required location (much the same issue as before).

Bugs fixed include allowing the tool to grab plugins from a location with spaces in its name (example: C:\T n l\.....), and some small glitches with program detection.

the application now tests if it has admin priviledges, but it cant do anything about it other than display an error message and how to fix it; I'd rather it attempt to fix the problem itself. is there a way to run a program from the command line WITH admin priviledges?
  • Calculators owned: TI-83, Ti-83+, Ti-84+, Ti-84+CE, TI-86, Casio Prizm

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Issues with .zip file extraction
« Reply #2 on: May 18, 2016, 02:44:20 am »
I am glad you kinda got it solved but I am sadly no help to you really. Could it be that yo need admin rights to operate certain commands on the cmd
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline Luxen

  • New User
  • Join Date: Sep 2015
  • Location: Yorktown, Virginia
  • Posts: 17
  • Post Rating Ratio: +0/-0
  • Gender: Male
Re: Issues with .zip file extraction
« Reply #3 on: May 18, 2016, 10:34:02 pm »
you need admin rights to have write access to C:\Program files\<insert blah here>, for obvious security reasons.
  • Calculators owned: TI-83, Ti-83+, Ti-84+, Ti-84+CE, TI-86, Casio Prizm

Offline SiphonicSugar

  • Full User
  • Join Date: Jun 2015
  • Location: Tennessee, United States
  • Posts: 251
  • Post Rating Ratio: +1/-1
  • Inspiration
    • siphonicsugar
    • @SiphonicSugar
    • SiphonicS
  • Gender: Male
Re: Issues with .zip file extraction
« Reply #4 on: May 18, 2016, 11:26:31 pm »
Yeah, I'm guessing that when you run cmd on other people's computers, you are not running elevated cmd.
  • Calculators owned: TI-89, TI-84 Plus, TI-92, TI-84 Plus C SE, and TI-Nspire CAS with Touchpad
I'm just trying to grab some inspiration. :P

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games