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 / .NET Framework / General / May 2006

Tip: Looking for answers? Try searching our database.

distributing Windows app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott - 31 May 2006 04:16 GMT
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
Scott - 31 May 2006 05:05 GMT
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

> Hi Everyone,
>
[quoted text clipped - 14 lines]
> Thanks,
> Scott
Patrice - 31 May 2006 09:21 GMT
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...

Signature

Patrice

> an update...
>
[quoted text clipped - 32 lines]
>> Thanks,
>> Scott
Scott - 31 May 2006 14:54 GMT
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"

> 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
[quoted text clipped - 36 lines]
> >> Thanks,
> >> Scott

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.