![]() Under the same name, a module can only be loaded once. Wait, if the requires have already run, they won't do anything when run for the second time. The bad news is that I am not maintaining that module any more. It has better support for detecting DLL dependencies than pp and it also does far less magical things than pp, so that you can check what gets installed and also use some tool as sysmon to see what the installed program does and when it fails find why! Instead of creating a single executable, it creates a standard Windows installer (MSI) with all the dependencies. :-(Ĭheck Win32::Packer (I am the author). ![]() You would have to have a different PAR_GLOBAL_TEMP setting in the scope of every single exe that runs on the system. Whether it is practical for your system is another question, of course. You can localise the settings by wrapping your executables inside batch files, setting the env vars in the batch files, and calling the batch files instead of the executables. Re^3: pp: modules disappearing while program runs? but the documentation doesn't really say what it does, it just says use PAR_GLOBAL_TEMP instead. My *guess* is that I need to use PAR_TMPDIR. I tried using PAR_GLOBAL_TEMP, but the huge problem with it is that /par-USER/cache-XXXXXXX does not get added to the end of it, so *every* par packed EXE running on the system goes into the same directory (PAR_GLOBAL_TEMP) and rediculously bad things happen Re^2: pp: modules disappearing while program runs? This works because, when you re-run the executable, all the PAR archive contents are re-extracted if a canary file is not found. by wrapping your code in a batch file or setting a system-wide env var. This needs to be done before you start your program, e.g. ![]() There can be issues with tools like CCleaner deleting temporary folders and thus any files in use by pp-packed executables that are not file-locked.Īssuming that is the issue, the simplest option for now is to set the PAR_GLOBAL_TEMP environment variable to a folder that is not cleaned up automatically. Re: pp: modules disappearing while program runs?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |