Temporary paths
-
Runs a lot of stuff.
-
not going to deny that, just deliberately not mention it.
:-P
-
As in "I mentioned it but I think I got away with it"?
-
around here? the chances of me getting away with are about nill wouldn't you think?
-
Why do you think I don't share the very worst of my PHP TRWTFness?
-
Why do you think I don't share the very worst of my PHP TRWTFness?
because on a scale of 0 to
OMFG WHY‽
it barely rates a 42?
-
I have been known to create my own share of TRWTFs ;)
-
and i;m choosing to deny that fact. :-P
-
Go read http://what.thedailywtf.com/t/xml-sql-php-and-its-mine-sorry-long/1398/ and tell me I didn't perpetrate many WTFs (But I got better.)
-
i've seen worse, goddess preserve us i've done worse...
and if i still had that code i'd share it!
-
Couldn't possibly be worse than PHP itself.
-
PHP is getting better, btw.
-
PHP is getting better, btw.
That's like saying something is getting warmer from 0 Kelvin.
-
PHP 7 is legitimately improving stuff. They are also planning to drop the 'function' from method specs, e.g.
public myfunction()
instead ofpublic function myfunction()
because this is apparently awesome.
-
PHP 7 is legitimately improving stuff. They are also planning to drop the 'function' from method specs, e.g.
public myfunction()
instead ofpublic function myfunction()
because this is apparently awesome.public object yourguessisasgoodasmine()
-
-
public real_myfunction_2_for_sure_this_time_thats_never_happened_before_its_not_you_im_just_too_drunk_i_promise_it_wont_happen_next_time()
Post can't be empty.
-
public real_myfunction_2_for_sure_this_time_thats_never_happened_before_its_not_you_im_just_too_drunk_i_promise_it_wont_happen_next_time()
This is why autocomplete is evil.
-
Notepad++ now has autocomplete. I don't approve haha.
-
Why create temporary files at all when you can just open
INVALID_HANDLE_VALUE
and let the swap file handle it?
-
-
Installers do more than just copy files. They publish data to the operating system, set up services, and do other things that are custom to what is being installed. Certain things require executables to run only for the duration of the installer's life and don't need to be on the system after the installation is done... they are temporary.
-
I wasn't really being serious. But it seems to me all you are saying is that besides copying files, some code has to run. But Install.exe is already code that is running so I don't get why there needs to be additional files. In a strict sense.
-
But it seems to me all you are saying is that besides copying files, some code has to run. But Install.exe is already code that is running so I don't get why there needs to be additional files. In a strict sense.
Yes, I'm sure your self-extracting EXE looks very professional. However, when you start working with big-boy applications there is more expected from an installer:
- EULAs
- multilingual support
- comparing file-version information during upgrades
- installation of prerequisites
You also want a standard infrastructure to work with the OS, like Windows Installer, instead of cowboy programming your own executable for an installer for every application you want to install. You also want to have the ability to customize it, like having a custom action DLL to run your specific code (which gasp is temporary).
Diskspace is not an issue in 2014; it's not that expensive. As long as you do the right thing and clean things up correctly (i.e. know what you are doing!), then using temporary space is the correct way to handle things. What everyone here is complaining about is things that are supposed to be temporary not getting cleaned up. It's because developers are fucking things up, not because they shouldn't use temporary files and folders.
-
However, when you start working with big-boy applications there is more expected from an installer:
- spamming registry with useless keys
- putting files where they don't belong
- causing a DLL Hell all around
- installing a hundred of toolbars
- insisting that C:\Program Files is the only directory you'll ever needFTFY. You did say "expected...
-
the last and only time i wrote an installer for windows it was litterally:
- Hi! I'm an installer for Contoso Gallery Viewer!
- Where do you want me to install to?
- optional: Oh. that's not in Program Files (x86), this could be a bit insecure. are you sure? (ok! you're sure!)
- optional: oh. that's on a removable media. It'll still work fine but if you unplug the media it'll stop working until you plug it back in. are you ok with that? (cool!)
- Cool! i'll put all my files there
- Would you like me to add a start menu entry for the program?
- (If yes) Ok. i did that.
- Would you like me to open the README file so you can learn more about Contoso Gallery Viewer?
- (if yes): ok. i'mma close now and open the readme. have fun!
- (if no): ok. i'm all close now. have fun!
no registry keys, no faffing about with profiles or other crap, just drop the EXE, a couple of DLLs that really didn't want to be bundled in the EXE for license reasons (grrrrrrr.....) and a .INI configuration file for changing behavior without opening the program (in case the .INI was corrupt or something and the program couldn't open it)
-
-
no, but it's a convenient fake company name.
also i like the way it sounds.
KAHN-to-so con-TOS-o
quag-MI-re
... wait that last one is definatly wrong
-
-
-
wait.... are mods allowed to flag for that?
i thought that was against the code of conduct for mods. ;-P
-
-
FLAGGED FOR QUESTIONING MY AUTHORITAH
FLAGGED FOR FAILING TO POST THE APPROPRIATE IMAGE MEME!
<the one from south park to be specific>
-
InnoSetup. 'Nuff said.
-
-
FLAGGED FOR FLAGGING.
what? not flagged for saying i was flagging but not actually flagging (as both @pjh and @boomzilla can attest to, i did not infact flag that post)
-
No, and neither did I :)
EDIT- I can flag my own posts for being off topic or spam? QUE?
-
EDIT- I can flag my own posts for being off topic or spam? QUE?
hmmmm... now that is interesting. i never noticed the flag on my own posts before.... is it new? maybe a regression of sorts?
-
I've noticed it before, but assumed it just had the generic "flag for something else" option.
-
Yeah, shitty developers make shitty software. Whether that is the application itself or the installation.
-
EDIT- I can flag my own posts for being off topic or spam? QUE?
Try it and find out
i never noticed the flag on my own posts before.... is it new?
No, it's always been there. Flagging your own posts to mods for immediate 'deletion' (I. E. moved to trash) because you posted a photo of your cubicle that had GPS data in it for example...
-
Flagging your own posts to mods for immediate 'deletion' (I. E. moved to trash) because you posted a photo of your cubicle that had GPS data in it for example...
Yeah - that's why I assumed that the only option that would be there would be just the "Something else" reason. Don't get why the other reasons are there though.
-
No, it's always been there. Flagging your own posts to mods for immediate 'deletion' (I. E. moved to trash) because you posted a photo of your cubicle that had GPS data in it for example...
Huh.... still needs mod interaction though.... that's interesting.
-
No, it's always been there. Flagging your own posts to mods for immediate 'deletion' (I. E. moved to trash) because you posted a photo of your cubicle that had GPS data in it for example...
hmm this calls for experimentation in.... 2
-
No, it's always been there. Flagging your own posts to mods for immediate 'deletion' (I. E. moved to trash) because you posted a photo of your cubicle that had GPS data in it for example...
hmm this calls for experimentation in.... 1
-
So basically a flag every minute? What is this, the NFL?