Hello Everyone,

I'm trying to package an application that requires an older version of msorcl32.dll. Since that .dll falls under WFP, is there a way I can disable WFP to add the necessary .dll then re-enable WFP? I appreciate any help

Thanks in Advance!!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I forgot to mention, the operating system is Windows XP Service Pack 2

Thanks again!!
Answered 12/01/2005 by: urban_diver
Orange Senior Belt

Please log in to comment
0
Hi!

As far as I know it´s not recommended to package files thats includes in WFP. Microsoft obviously has a solution for it, while for example Media Player 9 has WFP files.

Isn't there any command line parameters to the setup.exe you can use to make it silent or create a response file?

/Jonas
Answered 12/02/2005 by: jonasm
Blue Belt

Please log in to comment
0
You should change the value of a registry key that disables WFP, copy the files and then change the key back to its original value. You could do this by using a script that runs before the files are installed.
Answered 12/02/2005 by: shogun_ro
Orange Belt

Please log in to comment
0
Hi ,

Disabling WFP is greater security risk and is not advisable .

If your application is using an older version dll then you should try Application component isolation to make the application load the dll from the installation directory whenever required instead of loading the dll present in windows system folder .

Cheers,
V
Answered 12/02/2005 by: viv_bhatt1
Senior Purple Belt

Please log in to comment
0
I so agree with viv_bhatt1! you don't want to start replacing files with OLDER versions.
Answered 12/02/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
ORIGINAL: urban_diver

Hello Everyone,

I'm trying to package an application that requires an older version of msorcl32.dll. Since that .dll falls under WFP, is there a way I can disable WFP to add the necessary .dll then re-enable WFP? I appreciate any help

Thanks in Advance!!



As I recall, microsoft no longer allows you to disable WFP. I recall having to use debug to do some BIT FLIPS in a DLL file, and then I install the DLL, and disable windows file protection. Once this is done, then you reboot, and WFP is disabled.

Not a fun thing to do!

Why not copy the DLL into the same directory as your application, and do the .LOCAL hack to get round the problem. I forget all the specifics of the .LOCAL hack, but if someone else could fill in the details, that would solve this persons problem, and they wouldn't have to mess around with windows file protection at all.

Regards,
---- Robb ----
Answered 12/02/2005 by: Robb Thomas
Senior Yellow Belt

Please log in to comment
0
I forget all the specifics of the .LOCAL hack, but if someone else could fill in the details

You create an empty file called myapp1.exe.local for each executable you want to isolate - launching the .exe file then causes the app to look in the current dir for it's resources.. So for example say you have the following 2 executables in your package:

C:\Program Files\FunkyApp\program1.exe and
C:\Program Files\FunkyApp\program2.exe

Then you need to create 2 files:

C:\Program Files\FunkyApp\program1.exe.local and
C:\Program Files\FunkyApp\program2.exe.local and add them to your installation (as well as copying the older msorcl32.dll to the C:\Program Files\FunkyApp folder (rather than System32 or wherever it is now)

Alternatively I believe you can create:

C:\Program Files\FunkyApp\program1.exe.local and
C:\Program Files\FunkyApp\program2.exe.local folders and copy all the dll files etc you want to isolate into them

You'll still have problems if the msorcl32.dll file need to be registered though. MS recommends side by side isolation method for XP - more info here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/dll_com_redirection_on_windows.asp

Good luck - WFP is a bitch,
Rob.
Answered 12/03/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity