Hi All,

I've created a transform for MapInfo 8.5, and I pre run the InstallShield1050.msi beforehand. It runs fine manually with admin privileges.
I'm getting some unusual behaviour when running the same transform using SMS which also runs the InstallShield1050.msi beforehand. What happens is that the installation fails to read the valid PIDKEY value giving me an error: "Serial number "" is invalid". This only happens if the user is non privileged. If the user has admin rights the SMS install works fine and reads the valid PIDKEY value. In the transform I've added the PIDKEY to the SecureCustomProperties value.

Any ideas would be greatly appreciated,

Thanks
Wayne
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hey Wayne,

I know it's been a while since you posted this message but I am wondering if you are still having this problem or have you resolved it?

I've been able to pass on the PIDKEY but thought I would try helping you out.

Cheers
Answered 03/21/2007 by: justapkgr
Senior Yellow Belt

Please log in to comment
0
G'Day Kevin,

Yep, sorted this one out, thanks. I think that it was an issue with the DCOM and the permissions assigned to launch it. I had some excellent help from AngelD at the time when there was a concurrent post.

When you get the chance, I'd be interested to know how you got around this one.

Cheers
Wayne
Answered 03/23/2007 by: WayneB
Blue Belt

Please log in to comment
0
As you have the fix, can you please post it as I think I may have the same trouble when I try to put it into SMS.

Thanks Jo
Answered 04/11/2007 by: JMWebster
Orange Belt

Please log in to comment
0
Hey Jo,

Hope this helps.

Here's some of my documentation, if you requre any clarification, let me know (although it was a little while ago; that's why we document[;)])

This package requires administrator privileges to run.
The ISScript1050.msi and Transform must first be installed and associated dll’s registered first.

Imbedded in the ISScript1050.mst is a custom vbscript that changes the DCOM identity for the Installshield Driver from ‘The interactive user’ to ‘The launching user’. This ensures that the driver is installed in the SMS (admin) context and not the local user context.

This can be verified by monitoring the dcom identity using the dcomcnfg utility:
Open Console Root -> Component Services -> Computers -> My Computer ->
DCOM Config ->InstallShield InstallDriver
• On the General Tab Application ID:{223D861E-5C27-4344-A263-0C046C2BE233}
• Identity Tab should be “The Launching User” (and greyed out for non privileged user)

Web site referring to this information is here:
http://itninja.com/question/msi-corporate-standardiser6&mpage=1&key=install%2Cisscript%2Cengine䧮


The script which is called CA_CHANGE_DCOM_IDENTITY is below:

Dim WMIService, WshShell, DComApps, DComApp
Set WMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set WshShell = CreateObject("WScript.Shell")
Set DComApps = WMIService.ExecQuery("Select * from Win32_DComApplicationSetting where Caption='InstallShield InstallDriver' and RunAsUser='Interactive User'")

For Each DComApp In DComApps
WshShell.RegDelete "HKEY_CLASSES_ROOT\AppID\" & DComApp.AppID & "\RunAs"
Next


This issue appeared when running the MapInfo 8.5 installation the Product Key was not being detected from the Property Table when executing the ISScript1050.msi through SMS. SMS installs in the system context.

The CA is also included into the MapInfo85.mst in the UserInterface and the ExecuteImmediate sequences.

Also (but wait there's more)
Remove the prompt to search the internet for any application updates
Disabled LaunchSmartUpdate by deleting the Vendors CA (f31) in the CA Table in the InstallExecute Sequence

SMS installation sequence:

• Install ISScript1050.msi/mst \\%distribution point server%\desktop\ISScript1050\
• Run the Remove MapInfo 8 vbscript:
\\%distribution point server%\desktop\MapInfo_8.5\Remove_MapInfo8.vbs
• Install ISScript1050.msi/mst (Install2):
\\%distribution point server%\desktop\ISScript1050\
• Install MapInfo 8.5 msi/mst:
\\%distribution point server%\desktop\MapInfo_8.5\

The ISScript must be reinstalled after the remove script because the previous captured package of MapInfo 8.0 included this component which is removed during un-installation. This same ISScript1050 is also required to run the MapInfo 8.5 installation.


Regards
Wayne
Answered 04/11/2007 by: WayneB
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity