Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
298 views
in Technique[技术] by (71.8m points)

c# - App installed with NSIS Installer does not start

My app was developed with Microsoft Visual Studio 2019 C# WPF .NET Framework 4.7, and the installer with NSIS 3.05 MUI2. The development file directory is on an external drive because I had to carry out the development on 2 different computers with the Windows 10 Pro x64 Build 19041.746 operating system. MS VS 2019 as well as .NET Framework 4.8 is installed on both computers.

All files from the file directory ... / App_Name.bin.Release have been copied into the installation directory by the NSIS installer

My app works error-free within the development system (debug as well as release). The installation with the NSIS installer on my development computers was also error-free.

The problem:

As long as my external drive is connected to a computer via USB, my app starts without any problems on it, but if the external drive is removed, my app no longer starts! Double click at the desktop icon as well as at the exe file has no effect.

In contrast, the uninstaller can always be started without any problems!

I can't find any explanation for this behavior. Can someone help me there? I suspect, something is missing from the installer, but what?

question from:https://stackoverflow.com/questions/65883714/app-installed-with-nsis-installer-does-not-start

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...