Cannot make package visible to select shell

Discussions related to installation and setup of SoftPro products.
Post Reply
KPChow
Posts: 23
Joined: Fri May 27, 2016 1:18 pm

Cannot make package visible to select shell

Post by KPChow »

I have just received my license file ("PackageLicense.lic") and I followed the sdk instructions listed in
"Add a Package License" and "Make the Package Visible to the Select Shell".

The license file has been added to my Resources

My package registration is:

[RegisterPackage("Data Services, Inc.", "SoftPro_RecordingExpress_Plugin", "1.0", "PackageLicense", true)]
[RegisterProduct("Data Servoces, Inc.", "Recording Express Plugin for SoftPro", "1.0", "This is my package.", "")]
[ProvideResources("SoftPro_RecordingExpress_Plugin.Properties.Resources")]

My package has been rebuilt in release mode and I copied my assemblies into the Select folder (C:\Program Files (x86)\SoftPro\Select)

I registered my package

C:\Program Files (x86)\SoftPro\Select>spregpkg.exe /m:register /p:SoftPro_RecordingExpress_Plugin.dll

I then ran select /setup

No errors, but when I start select my package is not showing. Am I missing something? Does the installation process write to a log anywhere?

Thanks
KPChow
Posts: 23
Joined: Fri May 27, 2016 1:18 pm

Re: Cannot make package visible to select shell

Post by KPChow »

I found a registry entry for my package in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SoftPro\Select\4.0\Packages\<GUID>

It includes my assembly name, company, license key and version
KPChow
Posts: 23
Joined: Fri May 27, 2016 1:18 pm

Re: Cannot make package visible to select shell

Post by KPChow »

I found an error in my windows application log:

The commands for package SoftPro_RecordingExpress_Plugin were not merged. The package license is not valid!

Call Stack:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Diagnostics.TraceEventCache.get_Callstack()
at SoftPro.Select.LogTraceListener.OnLog(TraceEventCache eventCache, String message, TraceEventType eventType)
at SoftPro.Select.LogTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
at SoftPro.Select.Managers.CommandManager.MergeCommandTables()
at SoftPro.Select.Runtime.OnSetup()
at SoftPro.Select.Runtime.Start()
at SoftPro.Select.Automation.EnvICE.Start()
at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at SoftPro.Select.Shell.SynchronizationContextAspect.SyncProcessMessage(IMessage msg)
at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage msg)
at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
at System.Threading.Thread.InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args)
at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)
at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SoftPro.Select.Automation.EnvICE.Start()
at SoftPro.Select.Automation.EnvICE.Run(String rootSuffix, Boolean noSplash, Boolean setupMode, Boolean log, Boolean embedding, Boolean allowMultipleInstances, Boolean detectLeaks, Dictionary`2 args, String freeArg)
KPChow
Posts: 23
Joined: Fri May 27, 2016 1:18 pm

Re: Cannot make package visible to select shell

Post by KPChow »

I got a new license file and now my package is working.
Post Reply