मैं एक WiX सेटअप चलाते समय कार्रवाइयों की सूची और उनके अनुक्रम की तलाश में था। किसी भी तरह आधिकारिक वेबसाइट कोई जानकारी प्रदान नहीं कर रही है।वाईएक्स एक्शन अनुक्रम
मूल समस्या यह है कि मैं अपने कस्टम कार्यों को सही तरीके से शेड्यूल करना चाहता हूं। आम तौर पर मुझे regsvr32.exe के साथ एक डीएलएल पंजीकृत करने की आवश्यकता होती है, और यह केवल तभी किया जा सकता है जब फ़ाइलों को हार्डड्राइव में कॉपी किया जाता है। हालांकि कस्टम एक्शन
<Custom Action="RegisterShellExt" After="InstallFiles">
त्रुटि संदेश "फ़ाइल नहीं मिली" में विफल रहा।
मैंने जो किया है, वह मेरे एमएसआई के लॉग को वाईएक्स एडिट के साथ जोड़ रहा है, और मैंने पाया है कि एक्शन इंस्टॉलफाइल एक से अधिक बार मौजूद है। और प्रभावी रूप से फ़ाइलों को दूसरी बार दिखाई देने पर लिखा जाता है।
<Custom Action="RegisterShellExt" Before="InstallFinalize">
यहाँ अनुक्रम मैं अपने एमएसआई के लॉग से निकाला गया है:: तो मैं निम्नलिखित करने के लिए अपने कस्टम क्रिया बदल
Action start 15:16:49: INSTALL.
Action start 15:16:49: PrepareDlg.
Action start 15:16:49: AppSearch.
Action start 15:16:49: LaunchConditions.
Action start 15:16:49: ValidateProductID.
Action start 15:16:49: DIRCA_NEWRETARGETABLEPROPERTY1.5D429292039C46FCA3253E37B4DA262A.
Action start 15:16:50: CostInitialize.
Action start 15:16:50: FileCost.
Action start 15:16:50: CostFinalize.
Action start 15:16:50: WelcomeDlg.
Action 15:16:51: LicenseAgreementDlg. Dialog created
Action 15:16:53: CustomizeDlg. Dialog created
Action 15:16:55: VerifyReadyDlg. Dialog created
Action start 15:16:56: ProgressDlg.
Action start 15:16:56: ExecuteAction.
Action start 15:16:58: INSTALL.
Action start 15:16:58: AppSearch.
Action start 15:16:58: LaunchConditions.
Action start 15:16:58: ValidateProductID.
Action start 15:16:58: CostInitialize.
Action start 15:16:59: FileCost.
Action start 15:16:59: CostFinalize.
Action start 15:16:59: InstallValidate.
Action start 15:17:00: InstallInitialize.
Action start 15:17:08: ProcessComponents.
Action 15:17:09: GenerateScript. Generating script operations for action:
Action ended 15:17:09: ProcessComponents. Return value 1.
Action start 15:17:09: UnpublishFeatures.
Action start 15:17:09: RemoveShortcuts.
Action start 15:17:09: RemoveFiles.
Action start 15:17:09: InstallFiles.
Action start 15:17:10: CreateShortcuts.
Action start 15:17:10: RegisterUser.
Action start 15:17:10: RegisterProduct.
Action start 15:17:10: PublishFeatures.
Action start 15:17:10: PublishProduct.
Action start 15:17:10: ConfigureInstaller.
Action start 15:17:10: InstallFinalize.
Action 15:17:10: ProcessComponents. Updating component registration
Action 15:17:12: InstallFiles. Copying new files
Action 15:17:21: CreateShortcuts. Creating shortcuts
Action 15:17:21: RegisterProduct. Registering product
Action 15:17:23: ConfigureInstaller. [[note: CustomAction]]
Action 15:17:22: PublishFeatures. Publishing Product Features
Begin CustomAction 'ConfigureInstaller'
Action 15:17:28: RollbackCleanup. Removing backup files
Action ended 15:17:28: InstallFinalize. Return value 1.
Action start 15:17:28: RegisterShellExt. [[note: CustomAction]]
Action ended 15:17:33: INSTALL. Return value 1.
Action start 15:17:35: ExitDialog.
किसी को भी एक आधिकारिक सूची पता है?
धन्यवाद! इस पल के लिए मैं संक्षिप्त जवाब के साथ रहूंगा :) वास्तव में, जवाब मेरे लिए काफी स्पष्ट है। सबसे पहले वे कार्य तैयार करते हैं, हालांकि यदि आप इसे तत्काल बनाते हैं तो वास्तविक कार्य शुरू होने तक यह इंतजार नहीं करेगा। –
लेकिन क्या कार्रवाइयों के अनुक्रम की एक ऑफिकल सूची है? अन्यथा हमें सिर्फ परीक्षण और त्रुटि है जो हास्यास्पद लगता है ?! इनपुट के लिए – markmnl