PDA

View Full Version : X-Post from CW10-NG: User Local Temp path - are EXEcutable allowed here?



NewsArchive
12-19-2017, 01:31 PM
Hello all & Friedrich,

in my program I have a self-update function built in. The client downloads a ZIP to:

C:\Users\xxx\AppData\Local\Temp\

then unzips it. This ZIP contains an EXE, which performs the update itself. It
works fine... here.

My question now is: Do I have to expect that the client machines will be
prohibited to run EXE in C:\Users\xxx\AppData\Local\Temp\ or is it safe to do
the way I described?

Peter Hermanssen has inthe meanwhile mentioned, that some Anti-Virus-programs
might block execution of binaries in that location.

So my question to the jury, would

WE::CSIDL_APPDATA equate(01Ah) ! C:\Documents and Settings\username\Application
Data & \ MyProgram\Update

be a better one?


Thanks for your input!
Regards,
Wolfgang Orth
www.odata.de

Please note:
From time to time it happens, that I overlook a reply to my postings.
Please don't be angry.
In case of an emergency, try to contact me via mail.

Bitte beachten:
Von Zeit zu Zeit passiert es mir, dass ich Antworten auf meine Postings übersehe.
Bitte nicht böse sein.
Im Notfall bitte Kontakt per Mail versuchen.







.

NewsArchive
12-19-2017, 01:31 PM
Hi Wolfgang,

IMO, it is safe to use the "C:\Users\xxx\AppData\Local\Temp" folder
location. Quite a few applications are using this Temp folder, including
SetupBuilder installers (we create our own sub-folder).

From my experience, the false-positive risk is not higher in the Temp
folder. Just make sure the .exe is code-signed with a trusted certificate.

Friedrich

NewsArchive
12-19-2017, 01:32 PM
Sure! And right now I got my new one. It was a very easy process this time.

What makes me wonder is that Comodo still offers SHA-1 certificates.

Anyway, I will export it from FireFox now and see, whether it all works.

Thanks!

bye
Wolfgang

Regards,
Wolfgang Orth
www.odata.de

Please note:
From time to time it happens, that I overlook a reply to my postings.
Please don't be angry.
In case of an emergency, try to contact me via mail.

Bitte beachten:
Von Zeit zu Zeit passiert es mir, dass ich Antworten auf meine Postings übersehe.
Bitte nicht böse sein.
Im Notfall bitte Kontakt per Mail versuchen.

NewsArchive
12-20-2017, 01:45 AM
Hi Friedrich,

> IMO, it is safe to use the "C:\Users\xxx\AppData\Local\Temp" folder
> location. Quite a few applications are using this Temp folder, including
> SetupBuilder installers (we create our own sub-folder).
Acronis unzips the whole mess in there and runs the installer. Leaves
it there, all 500MB+, if it gets pissed off, which it usually does<g>
That has got to be the most finicky software there is out there!!!

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
12-20-2017, 01:45 AM
We had a few issues with that, but I agree that it's fine for the most
part.

Jeff Slarve
www.jssoftware.com

you know what happens when you assuage

NewsArchive
12-20-2017, 01:46 AM
If you're talking about True Image 2016, it is the reason that I
switched to Macrium Reflect after many many years as a happy Acronis
customer. I returned the software for a refund.

It is a terrible program. The design is bad. The features that I used
to love are missing.

On my Win 8.1 workstation, I still have True Image 2013. It's fine.

Jeff Slarve
www.jssoftware.com

you know what happens when you assuage

NewsArchive
12-21-2017, 02:25 AM
Hi Jeff,

> If you're talking about True Image 2016, it is the reason that I
> switched to Macrium Reflect after many many years as a happy Acronis
> customer. I returned the software for a refund.

Yes ATI! 2016 was a breeze compared to 2017 and 2017 was a breeze
compared to 2018!!!!!!!

I will investigate Macrium immediately! I had searched but never found
anything other than Acronis for image backups, but I must not have used
the right search terms!

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
12-21-2017, 02:25 AM
Hi Jeff,

> If you're talking about True Image 2016, it is the reason that I
> switched to Macrium Reflect after many many years as a happy Acronis
> customer. I returned the software for a refund.
Downloading Macrium! 870MB! What the heck do they put into those
programs! Acronis with all it's bloating is only about 560MB! <g>

Best regards,


--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
12-21-2017, 02:26 AM
Yeah, crazy.

Jeff Slarve
www.jssoftware.com

you know what happens when you assuage