Applying .net security settings to package as custom action, HELP!!!
Hi,
I'm trying to add some .net security settings to my package, this is how I've setup it up, but unfortunately it fails, can anybody shed any light on this, it's driving me crazy.
Package is entitled Finscan.
It installs 2 files to C:\Program Files\Finscan, finscan.exe & finscan.url
In addition, the Finscan.xml file is installed to .net framework DIR, i.e. C:\WINNT\Microsoft.NET\Framework\v2.0.50727.
If I run the commands inside the custom action outside of Windows Installer they work fine so I know my commands are correct, whenever I run them as custom actions I'm getting 1722 errors. See custom actions;
Type: 3106
Source: SystemFolder
Target: cmd.exe /c [V2.0.50727]caspol.exe -m -quiet -addpset [V2.0.50727]finscan.xml "Finscan PS"
This custom action fails everytime, anybody have any ideas?
I'm trying to add some .net security settings to my package, this is how I've setup it up, but unfortunately it fails, can anybody shed any light on this, it's driving me crazy.
Package is entitled Finscan.
It installs 2 files to C:\Program Files\Finscan, finscan.exe & finscan.url
In addition, the Finscan.xml file is installed to .net framework DIR, i.e. C:\WINNT\Microsoft.NET\Framework\v2.0.50727.
If I run the commands inside the custom action outside of Windows Installer they work fine so I know my commands are correct, whenever I run them as custom actions I'm getting 1722 errors. See custom actions;
Type: 3106
Source: SystemFolder
Target: cmd.exe /c [V2.0.50727]caspol.exe -m -quiet -addpset [V2.0.50727]finscan.xml "Finscan PS"
This custom action fails everytime, anybody have any ideas?
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Posted by:
cowley
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
cygan
15 years ago
Posted by:
cowley
15 years ago
Unfortunately this didn't fix it. I've checked the verbose log and it isn't very descriptive, right after the custom action fails I get this error, quite a generic one I believe;
The actual Windows Installer error is 1722. There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action PGDS_Caspol, location: C:\WINNT ...\finscan.xml" "Finscan PS"
Info 2835.The control ErrorIcon was not found on dialog SetupError.
The actual Windows Installer error is 1722. There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action PGDS_Caspol, location: C:\WINNT ...\finscan.xml" "Finscan PS"
Info 2835.The control ErrorIcon was not found on dialog SetupError.
Posted by:
NACM
15 years ago
Posted by:
Jsaylor
15 years ago
Posted by:
cowley
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.