Installer doesn't install COM Object properly

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Installer doesn't install COM Object properly

Post by Melloware »

I have noticed that when you install MM 3.2 it does not install the COM object with the Installer but instead you have to run MediaMonkey ONCE as Admin for the COM Object to get registered.

I know MM uses InnoSetup for it's installer and since that runs at Admin level it should be easy enough to add 1 line to the Installer to do the COM object registration.

Code: Select all

Filename: {sys}\regsvr32.exe; Parameters: "{app}\MediaMonkey.exe""; StatusMsg: Updating COM Object...; Flags: runhidden
If not my users are getting this strange error if they install MM 3.2 fresh and immediately try and use MonkeyTunes...

http://www.mediamonkey.com/forum/viewto ... 19&t=45495
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: Installer doesn't install COM Object properly

Post by Melloware »

Actually I stand corrected. InnoSetup has a built in COM registration flag called regserver. For your Inno Setup it would be in the [Files] section something like this...

Code: Select all

Source: "MediaMonkey.exe"; DestDir: "{app}"; Flags: regserver
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: Installer doesn't install COM Object properly

Post by stax76 »

The root of the problem is probably the people who had this problem did not allow the setup to launch MM because when it's launched by the setup it is launched with admin privileges so you have to manually launch it as admin one time because COM works only properly when it's at least launched one time with admin privileges, nasty MM bug causing me 4 hours headache.
Post Reply