PDA

View Full Version : Problem Adding Registry Key Via Resources Tab



NewsArchive
12-22-1999, 01:00 AM
Hi,

Make sure that you are calling CreateRegistrySet to create your entries.
Also make sure that you associated your file groups to a component, and your
component to a setup type.

--
Benito
InstallShield Technical Support

InstallShield® Professional 2000 is now available from InstallShield
Software Corporation! Take advantage of new event-based scripting
and enhanced third-party technology support. Target the Windows Installer
service of Windows 2000. Find out more! Visit www.installshield.com
and upgrade to InstallShield Professional 2000 today!

Karl Gerth <kgerth@transenda.com> wrote in message
news:38611131.0@news.installshield.com...
> Imported a set of registry keys into the Resources tab, "Registry Entries"
> folder. Set the properties of the reg. entry by right-clicking on it and
> associating it to my program file group.
>
> Problem: When I run my setup the keys are not inserted into the registry.
>
> This seems like a simple function. Any idea what I'm doing wrong???
>
>
>
>

NewsArchive
12-22-1999, 01:00 AM
Karl,

Under what registry key are you trying to create new keys under?
Is it directly under HKLM? or is it one of the subkeys?
Do you have administrative permissions?

Sincerely,
--
Olga K.
InstallShield Technical Support

InstallShield® Professional 2000 is now available from InstallShield
Software Corporation! Take advantage of new event-based scripting
and enhanced third-party technology support. Target the Windows Installer
service of Windows 2000. Find out more! Visit www.installshield.com
and upgrade to InstallShield Professional 2000 today!



Karl Gerth wrote in message <38611131.0@news.installshield.com>...
>Imported a set of registry keys into the Resources tab, "Registry Entries"
>folder. Set the properties of the reg. entry by right-clicking on it and
>associating it to my program file group.
>
>Problem: When I run my setup the keys are not inserted into the registry.
>
>This seems like a simple function. Any idea what I'm doing wrong???
>
>
>
>

NewsArchive
12-23-1999, 01:00 AM
Remember to do a media build.

--
Stefan Krueger
Independent Setup Consultant

// InstallSite - Resources for Setup Developers
// http://www.installsite.org

My reply-to address is invalid to avoid spam.
Paid support and consulting services are available:
Write to info@installsite.org for details (auto-responder).

Karl Gerth <kgerth@transenda.com> schrieb in im Newsbeitrag:
38611131.0@news.installshield.com...
> Imported a set of registry keys into the Resources tab, "Registry Entries"
> folder. Set the properties of the reg. entry by right-clicking on it and
> associating it to my program file group.
>
> Problem: When I run my setup the keys are not inserted into the registry.
>
> This seems like a simple function. Any idea what I'm doing wrong???
>
>
>
>

NewsArchive
04-03-2000, 12:00 AM
I'm having a similar problem....

I imported a reg file under the tag ps_plugin_register, in my code, in the
OnMove() fuction:

if (CreateRegistrySet ("ps_plugin_register") < 0) then
MessageBox ("Unable to create registry set.",SEVERE);
abort;
endif;

When I debug then, its executing the code without problem, and its returning
0 (which is a good thing). The contents of my registry file aren't
imported. It looks fine from the resources tab, and its set to run on the
Program Files Group. Yes its running on NT, and yes I am logged in as an
administrative account. Any help would be appreicated.

thanks


"InstallShield Software Corp." <PleaseNoReply5@InstallShield.com> wrote in
message news:38611492.0@news.installshield.com...
> Hi,
>
> Make sure that you are calling CreateRegistrySet to create your entries.
> Also make sure that you associated your file groups to a component, and
your
> component to a setup type.
>
> --
> Benito
> InstallShield Technical Support
>
> InstallShield® Professional 2000 is now available from InstallShield
> Software Corporation! Take advantage of new event-based scripting
> and enhanced third-party technology support. Target the Windows Installer
> service of Windows 2000. Find out more! Visit www.installshield.com
> and upgrade to InstallShield Professional 2000 today!
>
> Karl Gerth <kgerth@transenda.com> wrote in message
> news:38611131.0@news.installshield.com...
> > Imported a set of registry keys into the Resources tab, "Registry
Entries"
> > folder. Set the properties of the reg. entry by right-clicking on it
and
> > associating it to my program file group.
> >
> > Problem: When I run my setup the keys are not inserted into the
registry.
> >
> > This seems like a simple function. Any idea what I'm doing wrong???
> >
> >
> >
> >
>
>

NewsArchive
04-03-2000, 12:00 AM
I'm having a similar problem....

I imported a reg file under the tag ps_plugin_register, in my code, in the
OnMove() fuction:

if (CreateRegistrySet ("ps_plugin_register") < 0) then
MessageBox ("Unable to create registry set.",SEVERE);
abort;
endif;

When I debug then, its executing the code without problem, and its returning
0 (which is a good thing). The contents of my registry file aren't
imported. It looks fine from the resources tab, and its set to run on the
Program Files Group. Yes its running on NT, and yes I am logged in as an
administrative account. Any help would be appreicated.

thanks


"InstallShield Software Corp." <PleaseNoReply5@InstallShield.com> wrote in
message news:38611492.0@news.installshield.com...
> Hi,
>
> Make sure that you are calling CreateRegistrySet to create your entries.
> Also make sure that you associated your file groups to a component, and
your
> component to a setup type.
>
> --
> Benito
> InstallShield Technical Support
>
> InstallShield® Professional 2000 is now available from InstallShield
> Software Corporation! Take advantage of new event-based scripting
> and enhanced third-party technology support. Target the Windows Installer
> service of Windows 2000. Find out more! Visit www.installshield.com
> and upgrade to InstallShield Professional 2000 today!
>
> Karl Gerth <kgerth@transenda.com> wrote in message
> news:38611131.0@news.installshield.com...
> > Imported a set of registry keys into the Resources tab, "Registry
Entries"
> > folder. Set the properties of the reg. entry by right-clicking on it
and
> > associating it to my program file group.
> >
> > Problem: When I run my setup the keys are not inserted into the
registry.
> >
> > This seems like a simple function. Any idea what I'm doing wrong???
> >
> >
> >
> >
>
>

NewsArchive
04-04-2001, 12:00 AM
You need to make a call to "CreateRegistrySet(szRegistry)"
Where szRegistry is either the name as it appears in the resources
pain or "" to create all set in the registry pain.


On Wed, 22 Dec 2004 09:57:57 -0800, "Karl Gerth"
<kgerth@transenda.com> wrote:

>Imported a set of registry keys into the Resources tab, "Registry Entries"
>folder. Set the properties of the reg. entry by right-clicking on it and
>associating it to my program file group.
>
>Problem: When I run my setup the keys are not inserted into the registry.
>
>This seems like a simple function. Any idea what I'm doing wrong???
>
>
>
>

NewsArchive
12-01-2001, 01:00 AM
Imported a set of registry keys into the Resources tab, "Registry Entries"
folder. Set the properties of the reg. entry by right-clicking on it and
associating it to my program file group.

Problem: When I run my setup the keys are not inserted into the registry.

This seems like a simple function. Any idea what I'm doing wrong???