473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

distributing Windows app

Hi Everyone,

I created a basic winforms app whose only purpose in life is to launch an
HTML page on an installation CD. The winform app is launch.exe and is
specified in the autorun.inf so it autoplays when the CD is inserted.
Everything was working fine... until my partner pointed out the launch.exe
generates an error on systems that do not have the .net framework installed.
So, back to the drawing board, I had to publish the app to get the .net
framework bootstrapped. Before this I simply built the solution but that
didn't include the prerequisites in the build process.
Now, I have this published app and everything seems to be working fine
again. The issue is I have some files like .application, .exe.manifest,
..config.deploy, etc. that must be included on the CD or the install will fail.
Is there any way I can cleanup these files? Is there a better way to deploy
my app?

Thanks,
Scott

May 31 '06 #1
3 1523
an update...

The published launch.exe will not autorun. The launch.exe that I built and
manually copied to my CD autoruns just fine. The problem with the latter
approach is I need to check for the .net 2.0 framework and install it if it's
not present. Can I just build this simple .exe and later attach it to a
bootstrapping mechanism?

Any suggestions for resolving this issue?

Thanks,
Scott
"Scott" wrote:
Hi Everyone,

I created a basic winforms app whose only purpose in life is to launch an
HTML page on an installation CD. The winform app is launch.exe and is
specified in the autorun.inf so it autoplays when the CD is inserted.
Everything was working fine... until my partner pointed out the launch.exe
generates an error on systems that do not have the .net framework installed.
So, back to the drawing board, I had to publish the app to get the .net
framework bootstrapped. Before this I simply built the solution but that
didn't include the prerequisites in the build process.
Now, I have this published app and everything seems to be working fine
again. The issue is I have some files like .application, .exe.manifest,
.config.deploy, etc. that must be included on the CD or the install will fail.
Is there any way I can cleanup these files? Is there a better way to deploy
my app?

Thanks,
Scott

May 31 '06 #2
Do you really have to launch an EXE file ? I would try to use the name of
the HTML page. Not sure in the context of autorun but IMO it should have the
usual behavior that is launching the associated application...

--
Patrice

"Scott" <Sc***@discussions.microsoft.com> a écrit dans le message de news:
3F**********************************@microsoft.com...
an update...

The published launch.exe will not autorun. The launch.exe that I built and
manually copied to my CD autoruns just fine. The problem with the latter
approach is I need to check for the .net 2.0 framework and install it if
it's
not present. Can I just build this simple .exe and later attach it to a
bootstrapping mechanism?

Any suggestions for resolving this issue?

Thanks,
Scott
"Scott" wrote:
Hi Everyone,

I created a basic winforms app whose only purpose in life is to launch an
HTML page on an installation CD. The winform app is launch.exe and is
specified in the autorun.inf so it autoplays when the CD is inserted.
Everything was working fine... until my partner pointed out the
launch.exe
generates an error on systems that do not have the .net framework
installed.
So, back to the drawing board, I had to publish the app to get the .net
framework bootstrapped. Before this I simply built the solution but that
didn't include the prerequisites in the build process.
Now, I have this published app and everything seems to be working fine
again. The issue is I have some files like .application, .exe.manifest,
.config.deploy, etc. that must be included on the CD or the install will
fail.
Is there any way I can cleanup these files? Is there a better way to
deploy
my app?

Thanks,
Scott

May 31 '06 #3
I tried specifying the .html file in the autorun.inf file. When the CD was
inserted, a msgbox was disaplyed saying "d:\ ... not a valid win32
application"
"Patrice" wrote:
Do you really have to launch an EXE file ? I would try to use the name of
the HTML page. Not sure in the context of autorun but IMO it should have the
usual behavior that is launching the associated application...

--
Patrice

"Scott" <Sc***@discussions.microsoft.com> a écrit dans le message de news:
3F**********************************@microsoft.com...
an update...

The published launch.exe will not autorun. The launch.exe that I built and
manually copied to my CD autoruns just fine. The problem with the latter
approach is I need to check for the .net 2.0 framework and install it if
it's
not present. Can I just build this simple .exe and later attach it to a
bootstrapping mechanism?

Any suggestions for resolving this issue?

Thanks,
Scott
"Scott" wrote:
Hi Everyone,

I created a basic winforms app whose only purpose in life is to launch an
HTML page on an installation CD. The winform app is launch.exe and is
specified in the autorun.inf so it autoplays when the CD is inserted.
Everything was working fine... until my partner pointed out the
launch.exe
generates an error on systems that do not have the .net framework
installed.
So, back to the drawing board, I had to publish the app to get the .net
framework bootstrapped. Before this I simply built the solution but that
didn't include the prerequisites in the build process.
Now, I have this published app and everything seems to be working fine
again. The issue is I have some files like .application, .exe.manifest,
.config.deploy, etc. that must be included on the CD or the install will
fail.
Is there any way I can cleanup these files? Is there a better way to
deploy
my app?

Thanks,
Scott


May 31 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rick | last post by:
Hi all, I am writing a small PHP accounting and office management application and would like to learn how to "package" it for distribution. It requires the use of a small MySQL database which is...
5
by: NEWS | last post by:
Can I install Python on a networked server and have any user run Python programs without having to go through the 9Mb client install? What are my options for distributing Python programs to my...
1
by: Greg Smith | last post by:
I am distributing a Windows application via a Setup.exe file. How do you change the default target folder that comes up in the "Select Installation Folder" dialog box. Any help is greatly...
10
by: John Phelan | last post by:
I read an article by, by Mike Groh, in Access-VB-SQL Advisor Magazine, Week 37 that concerns me quite a bit on distributing Access Applications commercially. First I need to describe a "commercial...
2
by: Scott | last post by:
Any help would be grateful :-) Problem: When I test my installation of Access 2000 MDE, I get the following error: "Unrecognised Format".. This means that Access 97 cannot read Access 2000. ...
2
by: John Welch | last post by:
It happens much too often that I have to tell a client how to fix up missing references when I send them an application, especially if the client is distributing it to different users. It makes me...
0
by: news.microsoft.com | last post by:
Hi everyone, I am using the MSComm32.ocx in my application. Visual Studio itself created an Interop wrapper dll and included the ocx in the application directory. I packaged these when creating...
1
by: Slash | last post by:
I had success to get link with "File Shared" use IIS in Windows 2003. It can compiler & run, but the session will be lose when 445 port reconnection. (Its often happen) (Firewall open...
0
by: BallCOMET | last post by:
I have an application that I built with Visual Studio 2005 and for which I enabled OpenMP. If I open the compiled binary in Visual Studio, this is the manifest that is embedded in the executable...
11
by: Tina I | last post by:
Hi list, Is there a preferred way to distribute programs that depends on third party modules like PyQt, Beautifulsoup etc? I have used setuptools and just having the setup script check for the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.