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
Specify a valid default location in your package, and set the location from
registry only if the registry entry is actually found.

Signature
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)
> Hello to all. I have created a deployment package for
> my .net app. My deployment package seachers for a registry
[quoted text clipped - 14 lines]
> Thanks for your answers.
> Raymond
rr_dot_net - 15 Nov 2004 20:32 GMT
How does one "set the location from registry only if the registry entry is
actually found?" (using vs.net or Orca)
Thanks
> Specify a valid default location in your package, and set the location from
> registry only if the registry entry is actually found.
[quoted text clipped - 17 lines]
> > Thanks for your answers.
> > Raymond
Stefan Krueger [MVP] - 17 Nov 2004 19:26 GMT
Add a "Set a Directory" custom action with a condition that evaluates to
true if the search was successful.

Signature
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)
> How does one "set the location from registry only if the registry entry is
> actually found?" (using vs.net or Orca)
[quoted text clipped - 23 lines]
>> > Thanks for your answers.
>> > Raymond