hi again, i need to know directories SystemFolder, SourceDir, StartupFolder but I didn't fully comprehend their usage.
here i attach two examples. the first (example_shortcut) is for the use of StartupFolder: in this example StartupFolder is not converted but a directory named StartupFolder is created instead. what is my mistake? in the second example (example_CustomAction) I use SystemFolder and SourceDir - please dont comment about the use of xcopy (or CopyDIr which is a C# executable). it is just for demonstration purpose - in the logfile I could see that the xcopy command lacked of SourceDir value. the CopyDir application received correctly all the directory values. what is the problem with the quiet execution CustomAction? claudia
example_shortcut
Description: Binary data
<Binary Id='MYCOPYDIR' SourceFile='.\CopyDir.exe' />
<Binary Id='MYDIALOG' SourceFile='$(sys.SOURCEFILEDIR)logger.vbs' />
<!--GET WEBROOT-->
<CustomAction Id='IISconfigure' BinaryKey='MYDIALOG' VBScriptCall='IISmodify' Return='check' />
<!-- Quiet Execution CustomAction -->
<Binary Id="wixca" SourceFile="wixca.dll"/>
<CustomAction Id="QtExec" BinaryKey="wixca" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/>
<CustomAction Id='CopyStreaming'
BinaryKey='MYCOPYDIR' Return='check' Execute='immediate'
ExeCommand='"[SourceDir]\Inetpub\wwwroot\Streaming" [IISRoot]\Streaming'/>
<!-- For deferred CustomAction to see a property!!! -->
<!-- SET PROPERTIES INTO CUSTOMACTIONDATA -->
<CustomAction Id="IISRoot.SetProperty" Return="check" Property='IISRoot' Value="[WEBDIR]" />
<CustomAction Id="QtExecCmd.SetXcopyCmd" Return="check" Property='QtExec'
Value='"[SystemFolder]\xcopy.exe" /K /I /E "[SourceDir]\Inetpub\wwwroot\Streaming" [IISRoot]\Streaming__' />
<InstallExecuteSequence>
<!--GET WEBROOT-->
<Custom Action='IISconfigure' After='AppSearch'>Not Installed</Custom>
<!-- CUSTOM ACTIONS TYPE 51 FOR DEFERRED CUSTOMACTIONS -->
<Custom Action='IISRoot.SetProperty' Before='CostFinalize' />
<Custom Action='QtExecCmd.SetXcopyCmd' After='IISRoot.SetProperty' />
<Custom Action='QtExec' After='CreateFolders' >Not Installed</Custom>
<Custom Action='CopyStreaming' After='CreateFolders' >Not Installed</Custom>
</InstallExecuteSequence>
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

