سؤال
وأنا أقرأ WIX النص المكتوب من قبل الآخرين. هناك بعض التعليمات البرمجية يخلط حقا لي.
<Custom Action='UnLoadSchedulerPerfCounters' After='InstallInitialize'>
<![CDATA[(Installed) AND (!Scheduler = 3)]]>
</Custom>
<Custom Action='RollbackSchedulerPerfCounters' After='WriteRegistryValues'>
<![CDATA[(&Scheduler = 3)]]>
</Custom>
وهكذا، ما هو الفرق بين !Scheduler
و&Scheduler
؟
أي معنى خاص عند بادئة إد الملكية التي كتبها &
أو !
؟
المحلول
http://www.tramontana.co.hu/wix/ lesson5.php # 5.3 :
<اقتباس فقرة>ومعلق مسبقا بعض الأحرف الخاصة ل وأسماء منحهم اضافية قوله تعالى:
% environment variable (name is case insensitive)
$ action state of component
? installed state of component
& action state of feature
! installed state of feature
والأربعة الأخيرة يمكن إرجاع التالية قيم الأعداد الصحيحة:
-1 no action to be taken
1 advertised (only for components)
2 not present
3 on the local computer
4 run from the source
اقتباس فقرة> نصائح أخرى
وتلك هي المشغلين على بناء الجملة حالة مثبت Windows. انظر هذه الوثائق MSI SDK للحصول على قائمة كاملة: http://msdn.microsoft. كوم / EN-US / مكتبة / aa368012.aspx .
لا تنتمي إلى StackOverflow