APUP2 fetch issue
#1
Posted 06 June 2012 - 08:35 PM
So, I reverted to the original APUP and tried again. That one seems to be working.
#2
Posted 06 June 2012 - 08:49 PM
#3
Posted 06 June 2012 - 08:53 PM
#4
Posted 06 June 2012 - 09:42 PM
The permission denied is due to not having admin rights to read/write something.
That's funny, I can't seem to find that string. Figures as soon as I say that I find it.
Yep it has to do with executing dos commands. Both apup and apup2 use the same method to execute dos commands. They create a temp batch file, stuff the command into it, and then execute it. The error string you got only happens if it can not create the temp batch file or for some reason there is one with that exact name there already that it can't remove to make a new one. This still comes back to needing proper access rights.
Changed it to say "Command Execution Error" As I thought I already did. Although you won't see the change until I post a newer version.
Edited by ViroMan, 06 June 2012 - 09:57 PM.
#5
Posted 06 June 2012 - 11:25 PM
Can you tell me the location where the batch files are created? It's just strange because I'm not only the local machine admin, I'm the domain admin. I should be able to go anywhere.
It is entirely possible I had two apup update tasks going at the same time, which may be the reason why it was erroring out, if the batch file names are generic. I also might have started the update task too quickly if the one that errored out had yet to clear out the temp files. I'll have to watch that.
Nice work on APUP2 btw.
You have any need for a guy heavily into autoit scripting?
Edited by hlarsen, 06 June 2012 - 11:27 PM.
#6
Posted 07 June 2012 - 12:07 AM
hmm I was having lots of problems with it before. It used to set the file to read only for some damn reason. I fixed it but, perhaps it is still doing that for you. If you get that error leave apup on and navigate to the temp_bin and look for the batch file. See if its read only attribute is set.
Quote
Quote
Edited by ViroMan, 07 June 2012 - 12:21 AM.
#7
Posted 07 June 2012 - 02:21 PM
I understand where you are going. How do I get started? You want to take this out of the forum?
#8
Posted 07 June 2012 - 10:47 PM
#9
Posted 11 June 2012 - 10:10 PM
System installed to the machine I use is Windows 7 64, although I also administer a load of XP 32.
#10
Posted 12 June 2012 - 12:40 AM
www.autopatcher.com/releases.list
to get the list of scripts from there you can switch to the one you want to fix up windows 7 or XP. Make sure you select the English ones if you only understand English. If you can do the other languages even better since they don't get any love.
OHH and before you even get started I recommend taking a look at the Documents page. That can help get you started in understanding how the scripts work and what does what.
Edited by ViroMan, 12 June 2012 - 12:42 AM.
#11
Posted 12 June 2012 - 02:39 PM
A couple questions, is there a general document/guideline for which products as a whole AP is targetting?
I'm not familiar with RTI. Can you expound on what it is, if I need to generate it, and if so, how?
When I've completed an update, what do I do with it?
Edited by hlarsen, 12 June 2012 - 03:07 PM.
#12
Posted 13 June 2012 - 12:06 AM
In general the project is targeting Windows and Microsoft products as they both get updates from the same update servers and don't let you keep them unless you do the downloads manually(tons of work). There are extras like Java(temporarily suspended again) and several Adobe products(everyone uses them). In short... if it is popular and you can spare the time to keep the script up to date we are willing to consider adding it.
RTI is a file that we use to verify the script downloads are where they should be and if the downloads are not corrupt or different(newer version) then what it should be. You do not have to generate one unless you are a release manager. We will do that for you once you give us the script and apm files.
The BEST way to test the scripts yourself is to use dropbox. Upload your files and a faux release.list there. The list should point to your script. the script should point to the direct downloads(the servers they are on) and your zipped apms(on your dropbox). Then point apup (or if you still have apup2) to the dropbox list. Use the attached batch file to point apup1 to your dropbox. You will have to edit it with the location of the dropbox release.list though. Remove the "pause" if you don't want it. For apup2 just give it the link to your faux list in options.
Attached Files
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users













