Hi Rob,
Is the user group is still there?. I was wondering why nobody is replying.
This was my question ans I am trying hard to create a simple shortcut for 
net.exe.
When I start from the cmd prompt the service runs. However, It is not working.
I also tried to create a custom action like the following and it still it did  
not showing up.

I am describinfg two methods here. Both methods are not working. What should I 
do to create a short cut for an existing file which is already presnt in the 
windows/system32 directory?.
 

1) I am trying to create a shortcut for an existing file"net.exe" in the 
Windows/system32 directory. I am not packaging this file with the install 
shield. I want just use this file to run Tomcat. I am using the following code. 
This looks like simple, however when I run the install shield, it does not 
create a short cut at all. I tried by creating a custom action and try to use 
the peroprty in the shortcut. I donot know what I am doing wrong. Please look 
at this tag and see, if I am doing anything wrong here.

  <Component Id="comcat" DiskId="1" Guid="7C170F2C-67F9-4f31-AE7D-134451321BE6">
         <Shortcut Id="Tomcat" Name="StartTC"  Directory="ProgramMenuFolder" 
Arguments="start TEAMSRDS" LongName="1.Start Jakarta-Tomcat Server - Service 
Mode"
WorkingDirectory="directory3" Target="C:\WINDOWS\system32\net.exe" />
        
   </Component>

Directory3 is where my tomcat is installed
I called the service as RDS.

2)       <Shortcut Id="Tomcat" Name="StartTC" Target="[RUNNET]"
                 Directory="wixs1" Arguments="start TEAMSRDS" 
         WorkingDirectory="myvalue" />

<CustomAction Id="RNet" Property="RUNNET"  
ExeCommand="C:\WINDOWS\system32\net.exe"/> 


Thanks for any help in adavance.


Venkat

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to