The problem is this: My portable application requires the presence of files / drivers in the "System32" / SysWOW folder. I will say that the application will not work even if you put the files in the root folder. How to make them either emulated or copied to the System32 folder / WOW and then deleted. It is reasonable to use the first option, of course, but I do not know how ...
I tried to use .bat(RunAsAdmin) - access denied
I talk a little bit about this subject on my website which you can visit here:
http://softables.tk/docs/basics/file-system#redirection
If after reading up on this you still need help you should explain what you need in a little more detail and I'll help in the best way I can.
Edit
By the way, if you're trying to write to the System32/WOW64 folder's, you're going to need administrative rights.
daemon.devin
Administrator rights I have and it is needed for the program.
I assumed that I need to use custom.nsh in the syntax but I still not very understand.
What you need to do in General:
It is necessary to put two * .dll files representing alternative Winsock(for work proxy) libraries needed for the program's work.
In the System32 folder for x86 and in the SysWOW64 folder for x64, respectively. (or better forward them to a portable program in the data folder WinSock \ x32 \ *. dll, etc.)
P.S.
Your topic read, but have not as yet understood how to write the declarations for redirection:(
P.P.S.
If you are not hard to write custom.nsh for my case, I would be very grateful
to portable your life with portableapps.com
Don't work, how right and what I gotta do declaration?
Custom.nsh use automate or I need declarate it ?
Also I don't need the libs back up.
to portable your life with portableapps.com
I need to rewrite the page on my website. I realize now that I just assume people already know a little bit about NSIS and PAL. I also assume people will be using my modified version of PAL and not the official version.
But here is the code for your custom.nsh file based on what you've told me. This code should work if you're using the official version of PAL.
EDIT
Be sure that you put the appropriate DLLs in the DefaultData folder inside the App folder so it would look like this:
daemon.devin
The logic of the problem in your Custom.nsh is absolutely correct as I need it.
But for some reason it does not work, the files are in the folder x32 / x64, but the program still gives an error referring to their absence in System32 / WOW64.
I use official Portalabapps.com Launcher for compilation
There is no need to recompile the launcher?
CODE:
Can "PAL" variables or some other directives be incorrect or not declared?
to portable your life with portableapps.com
Okay, I've taken what you just shared above and fixed the errors you had in your code. Here's the new code:
Do not change anything in the code above and you should be fine. Just recompile using PAL and try again.
daemon.devin
The program creates a one library in SysWOW64 = PrxerDrv.BackupProxyPortable
Correctly ?
to portable your life with portableapps.com
I don't understand what you're saying.
Did it work?
daemon.devin
Judging by the fact that I delete them, but they after launch launcher appear
The file appears in the system folder apparently work script.
But I'm still not completely sure
Anyway....Thank you very much for your help
You were because of the line in the launcher.ini
to portable your life with portableapps.com
You're welcome. Glad I could help.
By the way, the move files section should be like this:
You were missing the file extension just left of the equal sign.
daemon.devin
I just did not write it here (extension), but thanks
to portable your life with portableapps.com