セットアップパッケージの作成方法

解決


村上 喜一  2005-09-16 04:28:41  No: 92269

いつもお世話になります。
セットアップウィザードからセットアップ用に
setup.msiを作成したのですが実行時にエラーが起きます。

Spreadが悪いのか分かりませんが
Spreadを使ってないアプリケーションは作動します。
エラーになるアプリケーションは、
1つは検索時に
「エラー番号91  AP名  でエラーが発生しました
Object reference not set an instance of an object」
というエラーが出ます。
もう1つは起動時に
「An unhandled exception has occurred in your application」
そこでDetailsというボタンがあって押下時に
「See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Form.OnActivated(EventArgs e)
   at System.Windows.Forms.Form.set_Active(Boolean value)
   at System.Windows.Forms.Form.WmActivate(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

など表示されます。
一体何が原因なのでしょうか?
ご教示願います。


村上 喜一  2005-09-16 19:35:22  No: 92270

どうにか解決しました。
板を荒らしたような感じになって申し訳ありませんでした。


※返信する前に利用規約をご確認ください。

※Google reCAPTCHA認証からCloudflare Turnstile認証へ変更しました。






  このエントリーをはてなブックマークに追加