Re: Deployment Project Question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Guyer [MS] (davguy_at_online.microsoft.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 19:38:09 GMT

Your original idea, to use 3 setups (and maybe tie them together with a
batch file or something) is probalby the best.

The reason is that if you duplicated stuff in both setups, i.e. the data,
the rules for what happens to the files in the data directory during
install and uninstall could cause unexpected and undesirable
overwrite/deleting behaviors!

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "GG" <bgbills@yahoo.com>
>Newsgroups: microsoft.public.dotnet.languages.vb
>References: <40672415$0$1948$ba620e4c@news.skynet.be> 
<407eabce$0$986$a0ced6e1@news.skynet.be> 
<JJbgA4xIEHA.2432@cpmsftngxa06.phx.gbl>
>Subject: Re: Deployment Project Question
>Date: Fri, 16 Apr 2004 09:18:22 +0200
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Lines: 77
>Message-ID: <407f8920$0$422$a0ced6e1@news.skynet.be>
>Organization: -= Belgacom Usenet Service =-
>NNTP-Posting-Host: 80.201.189.102
>X-Trace: 1082100000 newsread002.isp.belgacom.be 422 80.201.189.102:2993
>X-Complaints-To: usenet-abuse@skynet.be
>Path: 
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk
!news.tele.dk!small.news.tele.dk!skynet.be!newspost001!tjb!not-for-mail
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:195738
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>Thanks David.
>
>I have VB.net Standard and the merge is not included. Is there a way to
>accomplish this in Standard VB?
>
>
>"David Guyer [MS]" <davguy@online.microsoft.com> wrote in message
>news:JJbgA4xIEHA.2432@cpmsftngxa06.phx.gbl...
>> Try this,
>>
>> Add a Merge Module Project for your data folder.
>> Add the Merge Module to both Setup projects.
>>
>>
>> ---
>> David Guyer - VBQA Deployment Testing
>> This posting is provided "AS IS" with no warranties, and confers no
>rights.
>> --------------------
>> >From: "GG" <bgbills@yahoo.com>
>> >Newsgroups: microsoft.public.dotnet.languages.vb
>> >Subject: Re: Deployment Project Question
>> >Date: Thu, 15 Apr 2004 17:34:03 +0200
>> >
>> >I am trying to build a setup project and am stumped. My 2 apps are
>working
>> >correctly as far as the paths are concerned. As stated below I want the
>> >following outcome....
>> >
>> >(a)   InstallPath\"MyProj"\"MyApp Console"\"MyConsole.exe"
>> >(b)   InstallPath\"MyProj"\"MyApp Client"\"MyClient.exe"
>> >
>> >Both apps share data from INstallPath\"MyProj"\"Data".
>> >
>> >My setup projects build both (a) & (b) above as expected. How do I get
>the
>> >data folder and accompanying files to reside under
>> >InstallPath\"MyProj"\"Data" in the setup project? I'm thinking that I
>need
>> >to create a third setup project just for the folder and files.
>> >
>> >Am I heading in the right direction?
>> >
>> >Thanks
>> >
>> >GG
>> >
>> >
>> >"GG" <bgbills@yahoo.com> wrote in message
>> >news:40672415$0$1948$ba620e4c@news.skynet.be...
>> >> VB.Net 2003 Standard:
>> >>
>> >> I have a solution that contains 2 projects. Proj 'A' & Proj 'B'. Both
>are
>> >> stand alone executables that share a database. In the code of each
>> project
>> >> how do should I reference this database? I have tried the
>> >> Application.CommonAppDataPath, UserAppDataPath, LocalUserAppDataPath,
>> >> ExecutablePath selections but they point to the individual projects. 
Do
>I
>> >> have to hardcode something?
>> >> I am looking for a way to reference the Db no matter where the apps 
are
>> >> installed. The install paths will be c:\Program Files\<solution
>> name>\Proj
>> >> "A"  and c:\Program Files\<solution name>\Proj "B". Under <solution
>name>
>> >> will be a folder called Data.
>> >>
>> >> Thanks.
>> >>
>> >>
>> >
>> >
>> >
>>
>
>
>


Relevant Pages

  • Re: Check-list to installing/running apps as non-admin?
    ... A setup needs admin priviledges, so it creates a data folder in with the default data or templates that a new user requires. ... If Vista does not allow normal users to install to Program Files, ...
    (microsoft.public.vb.general.discussion)
  • Re: Anyone using Vista?
    ... The Inno Setup and ... About 95% of the "problems with Vista" reported by folks in those ... Application Data folder or the user application data folder; ... always used the CSIDL_xxx equates to locate Program Files, ...
    (comp.lang.cobol)
  • Re: Anyone using Vista?
    ... The Inno Setup and my BASIC language ... compiler group. ... Vista comes with the UAC security EN-abled by default. ... application data folder; and always used the CSIDL_xxx equates to locate ...
    (comp.lang.cobol)
  • Re: SMS Heirachy
    ... Ive already got the standard sender address setup. ... B server and it says that it is just a standard SMS Component server. ...
    (microsoft.public.sms.setup)
  • Re: 2 line phone setup - please help!
    ... I looked at those for a similar setup, 2 lines but 4 seats in the ... expandability and versatility at little extra cost. ... Panasonic's 3+8 pbx offers a bit more versatility, ... have two standard telephone lines coming into the house, ...
    (uk.telecom)