PDA

View Full Version : Setting .net security



Michel
10-16-2007, 03:09 AM
I am rebuilding a setup that was build with wise. In wise there is an option .Net Framework Security.

I now need to set the security settings for .net with setupbuilder.

Example:
v2.0.50727
Machine
All_code
[Productname]

I need to set the Condition Type to Url
I need to set the Version to 1
I need to set the Url to %INSTALLDIR%\*

Any thoughts how I can do this?

Thanks in advance.

Michel

andrea
10-16-2007, 03:38 AM
Michel,

Good question. I'll check this with development and get back to you.

Andrea

andrea
10-16-2007, 03:55 AM
Michel,

Would it be possible for you to send us your Wise project (or a dummy Wise project) that includes your .NET Framework Security settings.

It's not a SetupBuilder 6.6 built-in feature right now so we have to check this.

If possible, please send it to support (at) lindersoft (dot) com.

Thanks in advance!

Andrea

Michel
10-16-2007, 04:17 AM
Michel,

Would it be possible for you to send us your Wise project (or a dummy Wise project) that includes your .NET Framework Security settings.

It's not a SetupBuilder 6.6 built-in feature right now so we have to check this.

If possible, please send it to support (at) lindersoft (dot) com.

Thanks in advance!

Andrea

Send it :)

andrea
10-16-2007, 04:32 AM
Received, thank you Michel!

Andrea

Michel
10-19-2007, 03:59 AM
For those who need to do the same thing as me. Use the run program and run the CasPol.exe.

For .NET Framework 2.0:
Filename:
CasPol.exe

Target Folder and Default directory:
%WINDIR%\\Microsoft.NET\Framework\v2.0.50727

Commandline:
-q -m -ag All_Code -url "%_SB_INSTALLDIR%\*" FullTrust "Name you want"

This is just an example I used. For more info check the microsoft site.


I'm sure the future will bring some new .net security options in SetupBuilder :D