Topic: Program Can't start  (Read 2235 times)

Program Can't start
« on: November 10, 2012, 03:17:42 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
I have a program (Irfanview) that I working on for a PE script. I have the program working fine as in it will install on Gena but when I try to install this program under Win7PE SE, I am getting "The program can't start because MFC42.DLL is missing from your computer. Please try to blah...blah.." I have reconfigured my Winbuilder a dozen times and I seem to be still getting this error. Any ideas?

Re: Program Can't start
« Reply #1 on: November 10, 2012, 03:47:00 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Win7pe will not copy MFC42.dll by default.Just add a "Require_FileQ,MFC42.dll" line in the process section of you script.I believe that will solve your problem.

Re: Program Can't start
« Reply #2 on: November 10, 2012, 03:49:30 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Good idea :idea: I could just copy MFC42.dll to system32 folder incase other programs that have not been prepared by script will run.  Also isn't MFC42.dll some kinda Visual C runtime?
« Last Edit: November 10, 2012, 03:51:23 AM by laddanator »

Re: Program Can't start
« Reply #3 on: November 10, 2012, 04:00:03 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Answered my own question. Copied MFC42.dll from my running Windows 7 and mounted my Win7PE SE Wim and placed the dll in the system 32 folder and saved and unmount. Booted back into my test PC and my program installed with no more MFC42.dll error.  :clap:

Re: Program Can't start
« Reply #4 on: November 10, 2012, 04:10:28 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
You don't need to manually copy the dll to system32."Require_FileQ" will do that for you.

Re: Program Can't start
« Reply #5 on: November 10, 2012, 04:12:20 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Just curious to see if it would work. My next build will included this in the script or just use additional files to copy to system32.

Re: Program Can't start
« Reply #6 on: November 10, 2012, 04:16:56 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
You don't need to manually copy the dll to system32."Require_FileQ" will do that for you.

Thanks for your help, anshad, by the way.  :great:

 

Powered by EzPortal