Hi,

 

I have a PowerShell snapin that I'd like to use the ps:SnapIn however
when I use it my SnapIn gets registered with the wrong name and version
number. If I use the InstallUtil.exe program the snapin gets registered
properly. Anyone have any Idea as to what might be wrong?

 

Using InstallUtil.exe

.....

    <CustomAction Id="RegisterSnapin"

              Directory='Migrator'

 
ExeCommand='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\installUt
il.exe" /LogToConsole=false "[Migrator]MigratorCmdlets.dll"'

              Return='check'>

    </CustomAction>

......

Name        : Company.Migrator.Core

PSVersion   : 2.0

Description : This is a PSSnapin for Company  Migrator commands.

 

 

Using ps:SnapIn

.....

      <Component Id="PSTMigratorCmdlets.dll"
Guid="34C9EFEF-2F75-4297-80DD-B0E518913B61">

        <File Id="MigratorCmdlets.dll" Assembly=".net" KeyPath="yes"
Vital="yes" Source="$(var.BinPath)PSTMigratorCmdlets.dll">

          <ps:SnapIn Id="MigratorCmdlets.dll"/>

        </File>

      </Component>

....

 

Name        : MigratorCmdlets.dll

PSVersion   : 1.0

Description :

 

 

Michael Clark

Release Engineer

mcl...@fullarmor.com <mailto:mcl...@fullarmor.com>  

 

www.fullarmor.com <http://www.fullarmor.com/> 

 

___________________________

This email and any files transmitted with it are confidential and may
contain Full Armor Corporation privileged and proprietary information.
These materials are intended solely for the use of the intended
recipient. If you are not the intended recipient, any use, distribution,
or disclosure of this transmission is prohibited.  If you have received
this email in error, please immediately notify the sender and delete the
message from your system.

 

 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to