Well then I have another problem.  The custom action as I have it set up
doesn't do anything.  I'm trying to setup code groups for .NET framework
1.1 and 2.0.  My understanding is that the way I have it setup, it
should call the caspol.exe with the command line arguments in the
execommand attribute. Did I set it up incorrectly? Here is how I
scheduled it.

      <InstallExecuteSequence>
            <!-- Add/Remove Caspol groups -->
            <Custom Action="CreateCaspol11CA" Before="InstallFinalize"
/> 
        </InstallExecuteSequence>

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 8:01 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom Action problem

You have a Type 50 CustomAction + Async Wait + Deferred.  That's how you
get
1202.  Type 50 just specifies the base.  You can read more about all the
modifiers in the MSI SDK in the CustomAction topic.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 12, 2006 4:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action problem

I'm trying to create a type 50 custom action, when I check the type with
orca it show as a type 1202.  I can't find anything on a type 1202
custom
action.  When I change it to type 50 using orca the install fails, which
leads me to believe I'm doing something wrong.  Here is how I set my
property, and my custom action.  What am I doing wrong?

     <Property Id="NET11">
            <DirectorySearch Id="Net11Dir"
Path="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\">
                <FileSearch Id="Caspol11" Name="CASPOL.EXE" />
            </DirectorySearch>
        </Property>

<CustomAction Id="CreateCaspol11CA"  Property="[NET11]" ExeCommand="-m
-addgroup 1 -site localhost FullTrust -name 'company 1.1'"
Execute="deferred" Return="asyncWait" />



------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to