Re: Deploying Redemption.ll in a Windows Installer correct way

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



Hey Dmitry, do you know if that reg-free com works on a per app domain basis
in .NET or only per process? Meaning, can I guarantee I won't mess with
other add ins that use Redemption if there are version differences and such?

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Dmitry Streblechenko" <dmitry@xxxxxxxxxxx> wrote in message
news:uuFwYY4IGHA.3728@xxxxxxxxxxxxxxxxxxxxxxx
> MS is sure trying to de-emphasize dll self-registration, but that is done
> for one simple reasons: most dlls try to install themselves in the HKLM
> registry hive. If the user is not an admin or a power user, they
> (obviously) fail. The assumption is that installers know to install the
> dll in HKCU if HKLM can only be accessed with the read-only priviledges.
>
> Redemption is smart enough to do all that, plus is also includes a part
> that installs the dll as an Exchange Client Extension (this is useful if
> your code is in a COM add-in, but you can turn that option off in the
> latest version when you customzie the dll). This is done dynamically since
> quite a few pieces depend on the absolute paths of the various Outlook and
> Windows directories; no installer can handle this statically.
>
> Also note that as of Windows XP, COM libraries can be used without ever
> being installed in the registry!!! All you need to do is to provide a
> manifest file - see
> http://www.dimastr.com/redemption/security.htm#regfreecom .
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Jeff" <budajeff@xxxxxxxxx> wrote in message
> news:1138390922.542419.298380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Dmitry Streblechenko seems to indicate that his preferred method of
>> installing Redemption.dll is to have it self-register. However,
>> self-registering as a deployment method for dlls has fallen out of
>> favor.
>>
>> I would like to create a Windows Installer correct merge module for the
>> custom Redemption dll that I'm about to make that my company will use.
>> I would like to get all of the registry values that Redemption creates
>> when it self-registers, and put those keys in the Registry table of my
>> merge module.
>>
>> Will this work in all cases?
>>
>> One concern I have is that Redemption.dll could have conditional code
>> in its implementation of DllRegisterServer such that the registry keys
>> it creates vary depending on the target system's setup. Can anyone
>> confirm or deny this?
>>
>> Also, it would be most ideal if Dmitry would create a merge module for
>> his Redemption dll, so that users of it would have the one and only
>> correct merge module that they could then integrate into their
>> respective Windows Installer .msi packages. Are there any plans for
>> such a merge module?
>>
>> Thanks!
>> Jeff
>>
>
>


.



Relevant Pages

  • Re: Deploying Redemption.ll in a Windows Installer correct way
    ... > dll in HKCU if HKLM can only be accessed with the read-only priviledges. ... no installer can handle this statically. ... > being installed in the registry!!! ... >> I would like to create a Windows Installer correct merge module for the ...
    (microsoft.public.outlook.program_vba)
  • Re: Deploying Redemption.ll in a Windows Installer correct way
    ... MS is sure trying to de-emphasize dll self-registration, ... no installer can handle this statically. ... being installed in the registry!!! ...
    (microsoft.public.outlook.program_vba)
  • RE: Error number: 0x8002801D
    ... some SW installer that registered it's own bad version of the DLL and crapped ... our the registry) I wasn't able to determine an exact cause of the problem... ... > rundown on just how the fix made the problem go away. ...
    (microsoft.public.windowsupdate)
  • using vstudio installer
    ... i am using the visual studio installer to install a dll in into the ... system directory. ... the registry contains ... which is decreased to 1 when i uninstall the dll and therefore not removed. ...
    (microsoft.public.vstudio.development)
  • Re: regsvr32 error code 0x80004002
    ... I also have seen this error when there is a missing dll that your dll depends on. ... this invocation of regsvr32 succeeds. ... On another PC which also has VS2005 SP1 installed, an installer which was created by a VS2005 SP1 setup project did indeed insist on installing an extra copy of the redistributables. ... Sorry Norman, the context that this was happening on your development machine was lost, so I had forgotten that VS was installed. ...
    (microsoft.public.vc.mfc)