473,396 Members | 1,703 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.

Deployment questions

Howdy,
I'm finding the Windows Installer documentation a bit baffling, so here are a
couple of questions.

(1) I want to have a "Path" key in my app's settings in the registry
which is set at install time with the path to which my app is installed.
I reckon I should be able to do this by the ordinary registry editor in
a deployment project in VS, by creating a string value and setting it to
some Windows Installer variable - anyone know which one?

(2) My app comes with data sets A,B. I want people to be able to download other
datasets C,D,... if they wish. What's the right way to set this up, so that
* C,D are installed alone without the main program, but the install program
verifies that the main app is installed before installing them
* if the user uninstalls the main app, then additional datasets C,D,... are
also removed.

Thanks all!
Pete
Nov 15 '05 #1
1 1214
Create an installer project. Then, right-click the project in the project
explorer and select View -> Registry. This gives you a dialog for adding
settings to the registry.

Or, you can add a class to your application that is called by setup
application at the end of the setup process, and you can place the
registration code in that class. The helper class also provides a way to
execute code on uninstall.

I have no idea what you mean by datasets existing before the application is,
but in general, if a user downloads a dataset BEFORE installing your app,
that dataset should still exist on their computer AFTER they uninstall your
app.

HTH,
--- Nick

"Pete Griffint" <pe***********@hotmail.com> wrote in message
news:8a**************************@posting.google.c om...
Howdy,
I'm finding the Windows Installer documentation a bit baffling, so here are a couple of questions.

(1) I want to have a "Path" key in my app's settings in the registry
which is set at install time with the path to which my app is installed.
I reckon I should be able to do this by the ordinary registry editor in
a deployment project in VS, by creating a string value and setting it to
some Windows Installer variable - anyone know which one?

(2) My app comes with data sets A,B. I want people to be able to download other datasets C,D,... if they wish. What's the right way to set this up, so that * C,D are installed alone without the main program, but the install program verifies that the main app is installed before installing them
* if the user uninstalls the main app, then additional datasets C,D,... are also removed.

Thanks all!
Pete

Nov 15 '05 #2

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

Similar topics

2
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is...
0
by: Jony Joe | last post by:
Dear All; I am now making a deployment package using the .net deployment setup project. It is a desktop application that its solution contains 7 projects that generate DLLs and EXEs...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
4
by: Vai2000 | last post by:
Hi All, I have a doubt on WS. Initial deployment of an asp.net app which calls a websvc includes copying all the webreferences and proxy files (including the .cs files of the proxy) If I build a...
6
by: DBxGlock | last post by:
I'm trying to create the equivalent of a post build event for a website. I have the "Web Deployment Projects" add-in installed and am attempting to follow the instructions in the "Using Web...
1
by: dave | last post by:
I have two questions regarding a VB.NET deployment project. 1) During an install, I would like any previous versions of the application to be uninstalled automatically. Currently, I have to...
0
by: Andrew E Chapman | last post by:
I've just started using VB.NET, so the following two questions are probably going to seem ludicrous, but... 1). When some items are added to a project, how exactly are they used? For example, if...
11
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it...
3
by: Oleg Subachev | last post by:
Where to ask questions about VS deployment projects ? Oleg Subachev
4
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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.