DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 05:44:05 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    eddieb7
          2    Alvin Bruney [MVP] some guy without an email address
                 3    Eddiw Boggis


Calling CASPOL from within Installshield 12.   
I am trying to call CASPOL from within an install being created using
Installsheild 12 Express using the Custom Actions.  I have a custom
action which calls CASPOL but I cannot get CASPOL to find the exe that
I wasn to be used for adding the trust relationship.

I am using the following command line with CASPOL :-
  -quiet -machine -pp off -ag All_Code -strong -file temp.exe -noname -
noversion FullTrust -name TempSnk -description "Code group granting
full trust to temp application"

The porblem seems to be with finding my temp.exe.  Since I am doing
this through an install I do not know the specific location of my
temp.exe, so what I tried to do was copy CASPOL to the same location
as my temp.exe, but CASPOL still doesn't seem to find it.

I have tried doing this through a VBScript, but seem to have the same
problem.

Any help would e much appreciated.
Date:Mon, 20 Aug 2007 05:44:05 -0700   Author:  

Re: Calling CASPOL from within Installshield 12.   
interesting. i don't think that's the crux of the matter. I think maybe you 
have a permissions error for the access. caspol requires admin privileges, 
make sure that the install process or the identity running caspol has admin 
privileges. That's where I would start first. It's easy to rule out by 
placing the temp.exe and caspol in the same directory.

-- 
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

"eddieb7"  wrote in message 
news:1187613845.645480.3290@r29g2000hsg.googlegroups.com...

>I am trying to call CASPOL from within an install being created using
> Installsheild 12 Express using the Custom Actions.  I have a custom
> action which calls CASPOL but I cannot get CASPOL to find the exe that
> I wasn to be used for adding the trust relationship.
>
> I am using the following command line with CASPOL :-
>  -quiet -machine -pp off -ag All_Code -strong -file temp.exe -noname -
> noversion FullTrust -name TempSnk -description "Code group granting
> full trust to temp application"
>
> The porblem seems to be with finding my temp.exe.  Since I am doing
> this through an install I do not know the specific location of my
> temp.exe, so what I tried to do was copy CASPOL to the same location
> as my temp.exe, but CASPOL still doesn't seem to find it.
>
> I have tried doing this through a VBScript, but seem to have the same
> problem.
>
> Any help would e much appreciated.
> 
Date:Mon, 20 Aug 2007 20:22:11 -0400   Author:  

Calling CASPOL from within Installshield 12   
I tried running caspol and my temp.exe in the same directory, but get it works ok.

It's only when I try to do it within Installshield I get the problem.

EggHeadCafe - .NET Developer Portal of Choice 
http://www.eggheadcafe.com
Date:Tue, 21 Aug 2007 05:32:20 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us