Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / April 2007

Tip: Looking for answers? Try searching our database.

Exe file not portable?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Akos Somfai - 27 Apr 2007 10:18 GMT
Hi there,

My problem is that an exe file I build with VS 2005 (Professional
Edition) simply refuses to run on other computers. In fact it runs only
on machines with VS 2005 (Professional Edition) installed; on other
machines it simply says
"The system cannot execute the specified program."
I've checked for DLLs the program loads but it seems that they exsist on
these computers too.
If I try to start this program from from VS 2005 Express Edition, a
console window appears with this message:
---------------------------
Visual C++ 2005 Express Edition
---------------------------
Unable to start program 'y:\MidwayData\Pc\Debug.exe'.  This application
has failed to start because the application configuration is incorrect.
Review the manifest file for possible errors. Reinstalling the
application may fix this problem. For more details, please see the
application event log.
---------------------------
OK
---------------------------
How can I fix this?
David Lowndes - 27 Apr 2007 16:32 GMT
>My problem is that an exe file I build with VS 2005 (Professional
>Edition) simply refuses to run on other computers. In fact it runs only
>on machines with VS 2005 (Professional Edition) installed

You most likely need to install the redistributable run-time
components for VS2005 - vcredist.exe.

Dave
chrismc911@hotmail.com - 28 Apr 2007 22:53 GMT
> You most likely need to install the redistributable run-time
> components for VS2005 - vcredist.exe.

Hi David,

I have run into this issue, too some time and maybe you can answer
this one too :)

Can I add all the files into my installer package that are required
for running on a clean computer without the redistributeable package
installed? Or are these too many files anyway?

Regards,
Chris
David Lowndes - 29 Apr 2007 10:34 GMT
>I have run into this issue, too some time and maybe you can answer
>this one too :)
>
>Can I add all the files into my installer package that are required
>for running on a clean computer without the redistributeable package
>installed?

Chris,

You probably could, but whether you should is a different matter. Are
you perhaps asking if there's an alternative to running vcredist.exe?
If you are, then the answer is yes - use the redistributable merge
modules with your msi installation package instead.

Dave
chrismc911@hotmail.com - 30 Apr 2007 07:45 GMT
> You probably could, but whether you should is a different matter. Are
> you perhaps asking if there's an alternative to running vcredist.exe?
> If you are, then the answer is yes - use the redistributable merge
> modules with your msi installation package instead.

Thanks a lot, Dave!
Chris

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.