Search found 16 matches

Go to advanced search

by Pete Furness
Fri Jun 11, 2004 10:19 am
Forum: Feature Requests
Topic: Adding Registry Keys
Replies: 2
Views: 7166
 
Jump to post

Adding Registry Keys

Currently it is only possible to add registry values automatically via the AI dialog.

It would be great to be able to add a key and all its subkeys and values and all their subkeys and values etc.

Pete
by Pete Furness
Thu Jun 10, 2004 4:46 pm
Forum: Common Problems
Topic: Undesired File Removal
Replies: 7
Views: 13728
 
Jump to post

I live with DLL hell every day!

If what you said about file versioning issues is correct then in the very first message in this thread I would have expected the second install NOT to install the component if the version was the same... and more importantly not to uninstall it. This is not what is ...
by Pete Furness
Thu Jun 10, 2004 12:15 pm
Forum: Common Problems
Topic: Undesired File Removal
Replies: 7
Views: 13728
 
Jump to post

Thanks, I will include the MSM files.

I think there is still an issue lurking here though...

What if a newer version of "thirdparty.ocx" exists on the target PC before "mypackage.msi" attempts to install it? Surely there must be some way of preventing the older one being installed?

As a ...
by Pete Furness
Wed Jun 09, 2004 8:22 pm
Forum: Common Problems
Topic: Undesired File Removal
Replies: 7
Views: 13728
 
Jump to post

Thanks Cata
That will work fine for components I own and written by me.

However, the installation package might also include third-party files (mostly Microsoft) say something like comdlg32.ocx or mscomctl32.ocx that reside in the winsysdir.

Other applications (not written by me) may use either ...
by Pete Furness
Wed Jun 09, 2004 7:14 am
Forum: Common Problems
Topic: Undesired File Removal
Replies: 7
Views: 13728
 
Jump to post

Undesired File Removal

I have come across an unexpected behaviour on application uninstall.

A client installs more than one application I developed (say 2) and both use a series of custom components that are designed to be shared. When the second app is uninstalled it removes custom components installed by the first app ...
by Pete Furness
Mon Jun 07, 2004 11:17 am
Forum: Common Problems
Topic: Registry Permissions
Replies: 7
Views: 16553
 
Jump to post

Finally got round to modifying my "brute force" install as per your suggestions. It does not seem to be working as you indicated though.

Install set up to create...
HKLM\SOFTWARE\myco\myapp\name1=value1
HKLM\SOFTWARE\myco\myapp\name2=value2
etc.
I then use ORCA to Add the LockPermissions table and ...
by Pete Furness
Thu Apr 29, 2004 3:40 pm
Forum: Common Problems
Topic: Registry Permissions
Replies: 7
Views: 16553
 
Jump to post

Thanks, but yet more...

1.) The "everyone" question really meant - Is the group "everyone" always present in the security system? Specifically would older NT systems know about it? Or maybe this doesn't matter as long as the key gets the GENERIC_ALL permission?

2,3,4) I needed to get an install ...
by Pete Furness
Thu Apr 29, 2004 6:56 am
Forum: Common Problems
Topic: Registry Permissions
Replies: 7
Views: 16553
 
Jump to post

Hi Amalia

Thanks for that. I used the second method (ORCA edit) and it does what I need perfectly. Some points of clarification please...

Is "Everyone" recognised by all OS platforms?

The install creates a key stucture
HKLM\SOFTWARE\myco\myapp\name1=value1
HKLM\SOFTWARE\myco\myapp\name2=value2 ...
by Pete Furness
Wed Apr 28, 2004 10:16 am
Forum: Common Problems
Topic: Registry Permissions
Replies: 7
Views: 16553
 
Jump to post

Registry Permissions

I note the earlier message from Steve (Mar 23) about this.

OK, changing permissions will be in a later release? When?
I have an app I need to deploy now that needs to make entries at run-time. Currently I have these set up in HKLM\Software\myco\myapp but they could be anywhere.

Testing was fine ...
by Pete Furness
Mon Apr 26, 2004 9:57 am
Forum: Common Problems
Topic: Modify registry key
Replies: 5
Views: 13038
 
Jump to post

I have built a simple EXE and it seems to work fine. I have specified as "file attached to installation".

Can you give some more information on the choice between this method and an "installed custom action"?

When I attach to the uninstall section the file has a "_1" suffix added. What does this ...
by Pete Furness
Sat Apr 24, 2004 10:00 am
Forum: Common Problems
Topic: Modify registry key
Replies: 5
Views: 13038
 
Jump to post

OK thanks.
I am not a "C" programmer so my only option would be to build the .exe in VB6 - no problem. However will I run into bootstrap problems doing this? i.e. at the FIRST install are the VB support files (e.g msvbvm60.dll etc) I include in my package, installed and registered by the time the ...
by Pete Furness
Fri Apr 23, 2004 12:43 pm
Forum: Common Problems
Topic: Modify registry key
Replies: 5
Views: 13038
 
Jump to post

Modify registry key

Can I read the value of a registry key during install, modify it, then save new value, as part of the install? (And reverse the process on uninstall.)

If the answer is "use a custom action" please give me an example or point me to a web-site where I can get one.

Here's what I'm trying to do, so ...
by Pete Furness
Tue Apr 20, 2004 10:00 am
Forum: Common Problems
Topic: URGENT : CUSTOM DLL QUESTION
Replies: 3
Views: 8668
 
Jump to post

After some experimentation I found that I could get the [TARGETDIR], in my case to store a registry key, by adding an entry in the registry section thus...
HKLM\SOFTWARE\MYCO\MYAPP
with a Name: myname
and a Value: "[TARGETDIR]"
Hope this helps
Pete
by Pete Furness
Tue Apr 20, 2004 7:44 am
Forum: Common Problems
Topic: MDAC Version
Replies: 6
Views: 11241
 
Jump to post

Yes but HOW do I do that?
I need to check for the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess
and check the value of FullInstallVer (i.e. FullInstallVer >= "2.50.000")

Can this be done inside AvancedInstaller or do I have create an external file?

Pete
by Pete Furness
Fri Apr 16, 2004 6:27 pm
Forum: Common Problems
Topic: MDAC Version
Replies: 6
Views: 11241
 
Jump to post

MDAC Version

How would I test for the (already) installed MDAC version during an install and terminate with a message if (say) it was less than 2.5?

Go to advanced search