2009-05-12 15 views
7

पर विफल रहता है मैंने Visual Studio 2008 का उपयोग करके एक सेटअप प्रोजेक्ट बनाया है। एक अलग मशीन पर स्थापित करते समय, मुझे निम्न त्रुटि मिलती है:.NET- आधारित सेटअप प्रोजेक्ट

The installer was interrupted before MyApplication could be installed. You need to restart the installer to try again.

मैं इस समस्या को कैसे ठीक करूं?

लॉग फ़ाइल निम्न दिखाती है।

MSI (s) (D8:20) [14:06:01:020]: Executing op: ComponentUnregister(ComponentId={533BAFA2-3A54-B4D7-B625-38EB0DB9BBB7},ProductKey={B10107EF-3C57-451E-9080-40FB1F4A8B95},BinaryType=0,) 
MSI (s) (D8:20) [14:06:01:020]: Executing op: ComponentUnregister(ComponentId={B55DBDAF-0BCB-061A-9EA2-5AC798377ABA},ProductKey={B10107EF-3C57-451E-9080-40FB1F4A8B95},BinaryType=0,) 
MSI (s) (D8:20) [14:06:01:020]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0) 
MSI (s) (D8:20) [14:06:01:020]: Error in rollback skipped. Return: 5 
MSI (s) (D8:20) [14:06:01:030]: No System Restore sequence number for this installation. 
MSI (s) (D8:20) [14:06:01:030]: Unlocking Server 
MSI (s) (D8:20) [14:06:01:030]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. 
Action ended 14:06:01: INSTALL. Return value 3. 
MSI (s) (D8:20) [14:06:01:060]: MainEngineThread is returning 1603 
MSI (s) (D8:40) [14:06:01:060]: Destroying RemoteAPI object. 
MSI (s) (D8:B8) [14:06:01:060]: Custom Action Manager thread ending. 
MSI (c) (10:80) [14:06:01:130]: Back from server. Return value: 1603 
MSI (c) (10:80) [14:06:01:140]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 
MSI (c) (10:80) [14:06:01:140]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'. 
Action ended 14:06:01: ExecuteAction. Return value 3. 
MSI (c) (10:80) [14:06:01:150]: Doing action: FatalErrorForm 
Action start 14:06:01: FatalErrorForm. 
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels 
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right 
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels 
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right 
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels 
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right 
Action ended 14:06:04: FatalErrorForm. Return value 1. 
Action ended 14:06:04: INSTALL. Return value 3. 
MSI (c) (10:80) [14:06:04:475]: Destroying RemoteAPI object. 
MSI (c) (10:F4) [14:06:04:485]: Custom Action Manager thread ending. 
=== Logging stopped: 5/12/2009 14:06:04 === 
MSI (c) (10:80) [14:06:04:495]: Note: 1: 1708 
MSI (c) (10:80) [14:06:04:505]: Product: CMS -- Installation failed. 

MSI (c) (10:80) [14:06:04:515]: Grabbed execution mutex. 
MSI (c) (10:80) [14:06:04:525]: Cleaning up uninstalled install packages, if any exist 
MSI (c) (10:80) [14:06:04:545]: MainEngineThread is returning 1603 
=== Verbose logging stopped: 5/12/2009 14:06:04 === 

`

+2

समस्या MSI लॉग के साथ यह है कि वास्तविक त्रुटि अक्सर काफी दूर तक लॉग फ़ाइल - यह की पूंछ पोस्टिंग और मुख्य जानकारी प्रदान नहीं कर सकते हैं जिसका मतलब है। मैंने जो विगोगुटल टूल का उल्लेख किया है वह गेहूं को चोटी से अलग करने में अच्छा है। – dommer

उत्तर

8

एक लॉग फ़ाइल प्राप्त करने के लिए कमांड लाइन के माध्यम से स्थापित करने की कोशिश कर रहा। इसमें त्रुटि जानकारी होनी चाहिए।

msiexec/मैं program_name/lv mylogfile.log

आप Wilogutl उपयोग कर सकते हैं लॉग फ़ाइल आसान का विश्लेषण करने के लिए।

3

विजुअल स्टूडियो सेटअप प्रोजेक्ट आपके लिए दो फाइलें बनाएगा: एक एमएसआई फ़ाइल और setup.exe बूटस्ट्रैपर। उत्तरार्द्ध आपके आवेदन की पूर्व-आवश्यकताएं स्थापित करता है और फिर एमएसआई फ़ाइल लॉन्च करता है।

setup.exe बूटस्ट्रैपर लॉन्च करते समय, आपके% TMP% फ़ोल्डर के सबफ़ोल्डर में एक लॉग फ़ाइल बनाई जाएगी। इस फ़ाइल में किसी भी त्रुटि संदेश की जांच करें।

तुम भी एमएसआई सीधे फाइल शुरू करने और यह एक लॉग फ़ाइल बनाने के हो सकते हैं:

msiexec /i mySetup.msi /l*vx log.txt 

लॉग का विश्लेषण समस्या को खोजने के लिए आप मदद करनी चाहिए। अगर आपको त्रुटि संदेश के साथ किसी भी मदद की ज़रूरत है तो आप अपना प्रश्न संपादित कर सकते हैं और त्रुटि संदेश जोड़ सकते हैं।

14

हम एक ऐसी ही समस्या थी और MSDN forums पर एक उपयोगी टिप पाया:

जवाब "आईआईएस प्रबंधन संगतता" सर्वर भूमिका स्थापित करने के लिए किया गया था।

+0

हाँ। यह मेरे लिए क्या किया है। एफडब्ल्यूआईडब्ल्यू: यह वीएस2012 में स्थान है: http://i.stack.imgur.com/cTDKl.jpg – ray

+0

यह सहायक उत्तर है। – Humberto

0
  1. रजिस्ट्री में BFE सेवा (HKLM \ System \ CurrentControlSet \ Services \ BFE \ पैरामीटर \ नीति) के लिए स्थान पर ब्राउज़ करें, राइट क्लिक करें और अनुमतियां चुनें।
  2. "नीति के लिए अनुमतियां" विंडो में, उन्नत क्लिक करें। जोड़ें।
  3. एक बार "उपयोगकर्ता, कंप्यूटर या समूह का चयन करें" बॉक्स प्रकट होता है, स्थानीय मशीन नाम को इंगित करने के लिए "इस स्थान से:" बदलें।
  4. खोज स्थान बदलने के बाद, "चयन करने के लिए ऑब्जेक्ट नाम दर्ज करें" बॉक्स में "एनटी सेवा \ BFE" दर्ज करें और "नाम जांचें" पर क्लिक करें - इससे आपको बीएफई खाता जोड़ने की अनुमति मिल जाएगी।
  5. BFE खाते में निम्न विशेषाधिकार दें:
संबंधित मुद्दे