473,385 Members | 1,465 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,385 software developers and data experts.

Installer Question

Hi guys,

I've got a quick question about installers in .NET. Any advice would be
gratefully received!

I'm writing a .NET Windows application that needs an installer. I'd
really like the set up files to comprise of a SetUp.exe file, an MSI
and a CAB file containing all the files (exes, dlls, etc...) for my
application. Then, when the SetUp (or MSI) is launched, the installer
unpacks what is in the CAB file and deploys it to the install location.

One reason I want to do this is that I want my application to be able
to manually access the CAB file, unpack it, and use the files
elsewhere. Historically, I used to do this by putting an installer and
a separate zip file containing my application files on my release
disks. Then, the installer would take care of itself, and the zip file
was always available to the code when it was needed. (I have libraries
to unpack zip files, so there were no format barriers either!) The draw
back of this is that files are duplicated on the disk.

I thought this would be easy to achieve, but this is not the case! If I
build a CAB file using the set up wizard, the files within the CAB file
are not the proper application files; they all have weird names, like
"_9B36C0E000CC39B66CCCE90158340CB7". If I build a separate CAB file
using the Cab Project, the files within the CAB file are as expected,
but when I include the CAB file in an installer, the CAB file is just
placed in the output directory as a CAB file, and not unpacked!

Am I missing something here? Is it possible to do what I want to do?

Many thanks,

Steve.

Jan 3 '07 #1
0 933

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

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
7
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added...
1
by: HyperX | last post by:
Hey guys, How can I see the code of the installer class? I know that I have to right click on my object class, -> Add Item -> Code -> installer class... The actual question is, I cannot see...
2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
1
by: Henry Stock | last post by:
I am not really sure what news group this should be posted to. It has to do with a visual studio install project for a c# application. We have noticed that if any of the files installed by the...
1
by: Eric Fleet | last post by:
This may qualify as a stupid question -- or as Chris Berman said, "There are no stupid questions. Only stupid people who ask questions. I finally have my windows installer where I want it. It...
4
by: Shiraz | last post by:
Hi I'm using Visual Studio Installer to make my installer, and have not as yet figured out a straightforward way to use it to set environmental variables. Amongst the various things I tried, I'm...
3
by: mistral | last post by:
Not sure is this correct place for my question (i am not a programmer): I have some sofware packed into installer, file version: 2.11.15.0, in file properties shown "SFX CAB archive", name...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.