Re: Want to run an application without installing it.



If the app was designed to used with an installer, you are going to have trouble just
copying it. You seem to be going through a lot of work to solve a problem the installer
has already solved.

The DLL not found is a common error caused by not having the DLLs in the right folder. Of
course, if the name is "xyz" then it is not in the folder it is supposed to be in; if it
is some other name, it might suggest where it should go.
joe
On Sun, 29 Mar 2009 01:11:21 -0700 (PDT), immi <i4innocent@xxxxxxxxx> wrote:

Problem
------------
I want to run an application without installing it on my system
through its setup(installer).

What I did?
----------------
I have installed the application on another machine using its
installer and copied its files and folders into my machine. This
application is developed using Windows new Side-by-Side feature that
demands the associated DLLs and their corresponding Manifests, Catalog
and Policy files to be placed in C:\Windows\WinSxS.

I have copied respective DLLs in my local folder instead of placing
them into C:\Windows\WinSxS folder. Required Manifests and Catalog
files are also copied into my local folder instead of C:\Windows\WinSxS
\Manifests folder.
However, I have to place the associated policy files into C:\Windows
\WinSxS\Policies folder as these cannot be placed elsewhere.

Now, despite of performing all these activities I am able to run the
application but when trying to load any example, application crashes
after giving some xml and manifest files missing error. Whereas same
examples are successfully run on the machine where application is
installed through setup.

I have used InCtrl to get complete report of installer activity. Some
dlls were registered from system32 and some from application local
folder.
I have successfully register Dlls found in system32 after placing them
in local application folder.
I have found 4 dlls in local application folder which need to be
registered. But 2 of them couldn't be registered and displaying
following error

LoadLibrary("xyz.dll") failed - This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem.

I user depency walker and registry monitoring tool to solve the
registration problem. I put all dependent dlls in local folder but
still get one warning message from Depency walker. i.e.
For MPR.dll
"At least one module has an unresolved import due to a missing export
function in a delay-load dependent module"

Question
-------------
My question is that is it possible that I can run the application
properly by placing dlls, manifest and policy etc files in my local
folder rather than their actual path (C:\Windows\WinSxS)?
It may possible that registering of these dlls could solve the problem
but what i do now, Please advise.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Installing Assemblies and Registering OCX
    ... If you start a setup project and just ... create folders off Application Folder you'll see how it works. ... Registering an OCX - the file properties have a Register property. ... Phil Wilson [MVP Windows Installer] ...
    (microsoft.public.vsnet.setup)
  • Want to run an application without installing it.
    ... demands the associated DLLs and their corresponding Manifests, ... I have copied respective DLLs in my local folder instead of placing ... I have used InCtrl to get complete report of installer activity. ... I have successfully register Dlls found in system32 after placing them ...
    (microsoft.public.vc.mfc)
  • Want to run an application without installing it.
    ... demands the associated DLLs and their corresponding Manifests, ... I have copied respective DLLs in my local folder instead of placing ... I have used InCtrl to get complete report of installer activity. ... I have successfully register Dlls found in system32 after placing them ...
    (microsoft.public.win32.programmer.tools)
  • Re: Want to run an application without installing it.
    ... Maybe whoever designed the program only wanted it to be installed by the installer. ... demands the associated DLLs and their corresponding Manifests, ... I have copied respective DLLs in my local folder instead of placing ... I have successfully register Dlls found in system32 after placing them ...
    (microsoft.public.vc.mfc)
  • Re: Program wont part 3
    ... Try deleting the key files (exe and DLLs) in the Movie Maker folder... ... Then register the DLLs, copying and pasting the command line as it says on ...
    (microsoft.public.windowsxp.moviemaker)

Loading