You are here

syswow64 DLL help

7 posts / 0 new
Last post
jedione
Offline
Last seen: 10 years 3 months ago
Joined: 2013-08-21 23:32
syswow64 DLL help

Hey guys Have a App and These DLL files need to be in the syswow64 folder

MFC71.dll
msvcp71.dll
msvcr71.dll

1. All ready..Try'd like integrated C++ and just put them into the app folder! no go..

2. Try'd this also

[DirectoriesMove]
MFC71.dll=%windir%\syswow64\MFC71.dll
msvcp71.dll=%windir%\syswow64\msvcp71.dll
msvcr71.dll=%windir%\syswow64\msvcr71.dll

No go..is my variable wrong! or what!..
and if so is their a list of all the variable suported.

Thank for your help....

jedione
Offline
Last seen: 10 years 3 months ago
Joined: 2013-08-21 23:32
Adding files to the local

Adding files to the local PC's Windows\system drive is not permitted in official apps...just read this....this is for personal use..and unoffcial
and just for me. Thanks again..

Ken Herbert
Ken Herbert's picture
Online
Last seen: 1 min 34 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Try [FilesMove], not

Try [FilesMove], not [DirectoriesMove].

Also note that SysWOW64 only exists on 64-bit systems.

jedione
Offline
Last seen: 10 years 3 months ago
Joined: 2013-08-21 23:32
Wii try Thanks and give

Wii try Thanks and give update!

update....
just try'd

[FilesMove]
MFC71.dll=%windir%\syswow64\MFC71.dll
msvcp71.dll=%windir%\syswow64\msvcp71.dll
msvcr71.dll=%windir%\syswow64\msvcr71.dll

and %SysWOW64% but did not work! also Ran as Admin..
it made and extra folder in the PAF file but did not work,

jedione
Offline
Last seen: 10 years 3 months ago
Joined: 2013-08-21 23:32
OK Here is What i

OK Here is What i Found.....

[FilesMove]
MFC71.dll=%windir%\SysWOW64\MFC71.dll
msvcp71.dll=%windir%\SysWOW64\msvcp71.dll
msvcr71.dll=%windir%\SysWOW64\msvcr71.dll

is in fact Moving them to "SystemWOW64" When the App is Running...
But Not Working...But when I go to "SystemWOW64" and past them in
it works fine!...So..
im thinking this might be A timming Thing..
I am now Stumpt!...
Anyone.....Thanks..

Ken Herbert
Ken Herbert's picture
Online
Last seen: 1 min 34 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
[FilesMove] you only have to

[FilesMove] you only have to specify the target directory, so it should be
[FilesMove]
MFC71.dll=%windir%\SysWOW64
msvcp71.dll=%windir%\SysWOW64
msvcr71.dll=%windir%\SysWOW64

Also try
[FilesMove]
MFC71.dll=%windir%\system32
msvcp71.dll=%windir%\system32
msvcr71.dll=%windir%\system32

which is where SysWOW64 is redirected from (no guarantees, but it is an idea).

Magibon
Offline
Last seen: 10 years 3 months ago
Joined: 2011-12-06 07:57
impossible

you cannot use the launcher.ini to do that kind of executions.
- it's not permitted, thus not supported and would require administrative rights.
- to mess around with SysWOW64, as an amateur, is dangerous.
(you need to learn about Redirection, x64 Registry, etc.)
- i would advise against making such an application.
- atleast warn people, you're a novice and plan to tamper w/system files!

that said.. you will have to read up on NSIS.. i will not write the code for you..
but here's where you can start:

- you need to use Custom.nsh.
- read about x64 systems, redirection, x64-bit registry, and how NSIS interacts w/such systems.

ie.


!define GetSYSWOW64 `!insertmacro GetSYSWOW64`
!macro GetSYSWOW64 _RETURN
	Push $0
	System::Call `kernel32::GetSystemWow64Directory(t .r0, i ${NSIS_MAX_STRLEN})`
	Exch $0
	Pop ${_RETURN}
!macroend

Log in or register to post comments