cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eddieb7
Level 2

Error 1721

Hi all,

Desparately need some hel.p:confused:

I am trying to create a Custom Action that will allow me to update the
.Net security policy for the executable that I am trying to install, but I am getting an Error 1721 whenever I try to do it.

I have
Working Directory: [WindowsVolume]Microsoft.NET\Framework\v2.0.50727
Filename & Commandline: caspol.exe -machine -quiet -addgroup All_Code -strong -file "MyExe.exe" -noname -noversion FullTrust -name MyExe -description "Code group granting full trust"

Any Help would be much appreciated.

Cheers
Eddie
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Try adding the full path to caspol to the beginning of your command line. If that doesn't fix it, see if there are any further indications of what's failing in a verbose MSI log.
0 Kudos