Re: Default Location
From: Stefan Krueger [MVP] (skrueger_at_newsgroups.nospam)
Date: 11/17/04
- Next message: Alex Leyfer: "RE: RegSvcs.exe fails to register dll during .NET install"
- Previous message: Stefan Krueger [MVP]: "Re: Application deployment with Jet Database 4.0"
- In reply to: rr_dot_net: "Re: Default Location"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Nov 2004 20:26:15 +0100
Add a "Set a Directory" custom action with a condition that evaluates to
true if the search was successful.
-- Stefan Krueger Microsoft Windows Installer MVP Please post your questions in the newsgroup or vist one of these web sites: Windows Installer FAQ http://www.msifaq.com - http://www.msifaq.de InstallSite - Resources for Setup Developers http://www.installsite.org http://www.installsite.de (GERMAN) "rr_dot_net" <rrdotnet@discussions.microsoft.com> schrieb im Newsbeitrag news:8499889A-FD7F-4875-8D13-FF1C9C4CC6AA@microsoft.com... > How does one "set the location from registry only if the registry entry is > actually found?" (using vs.net or Orca) > > Thanks > > "Stefan Krueger [MVP]" wrote: > >> Specify a valid default location in your package, and set the location >> from >> registry only if the registry entry is actually found. >> >> -- >> Stefan Krueger >> Microsoft Windows Installer MVP >> >> Please post your questions in the newsgroup or vist one of these web >> sites: >> >> Windows Installer FAQ >> http://www.msifaq.com - http://www.msifaq.de >> >> InstallSite - Resources for Setup Developers >> http://www.installsite.org >> http://www.installsite.de (GERMAN) >> >> "Raymond" <mon_tejano@yahoo.com> schrieb im Newsbeitrag >> news:634f874f.0411071932.4322e7ed@posting.google.com... >> > Hello to all. I have created a deployment package for >> > my .net app. My deployment package seachers for a registry >> > key and uses its value as the default location for my >> > application (done via Launch Conditions editor). However, >> > if the registry key does not exist, it the deployment package >> > pops up an error and never resumes installation. >> > >> > Is there a way or a good approach on having to assign >> > a default directory (programmatic i guess) if the >> > registry key does not exist and also suppress that >> > error message? >> > >> > I am thinking of using custom folders and customer actions. >> > Can i use this approach? Can you share to me how to >> > do this? >> > >> > Thanks for your answers. >> > Raymond >> >>
- Next message: Alex Leyfer: "RE: RegSvcs.exe fails to register dll during .NET install"
- Previous message: Stefan Krueger [MVP]: "Re: Application deployment with Jet Database 4.0"
- In reply to: rr_dot_net: "Re: Default Location"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|