nsis出错_安装程序出现NSIS ERROR错误解决思路

人们在安装或打开一些程序的时候,会出现 NSIS Error 错误提示,这种情况很容易让人误会是系统出现了错误,或仅仅是该程序安装文件损坏的原因。

错误提示截图为:

截图

出错的文本:

图示

中文意思是:运行一个用Nullsoft Scriptable Install System (NSIS)建立的程序常会发生这种错误,起因可能是下载来的文件不完整,或存放该程序的磁盘区坏了,也可能因病毒。无论何种原因,建议你联系程序的作者,重新下载,再安装。或命令行中附加参数 /NCRC 试试安装(不推荐此法)。

NSIS 错误

你正使用的安装程序已经被破坏或不完整。这可能是由于损坏的磁盘,或是下载失败,或是病毒导致的结果。你可以联系本安装程序的程序员来获取新的软件拷贝。

解决思路:

1.尝试清空浏览器缓存,在IE选项中,清空IE临时文件。或使用清理专家百宝箱,清除系统垃圾文件,实现这个功能。

2.尝试禁用任何下载加速器或下载工具,尝试使用IE另存为进行重新下载。

3.更新杀毒软件,并进行杀毒。出现NSIS错误,被感染型病毒破坏的可能性较大。推荐重启到带命令行的安全模式杀毒。

4.尝试关闭杀毒软件和网络防火墙。

5.使用磁盘扫描程序或chkdsk扫描并修复磁盘错误。

6.从另一台正常计算机重新下载安装包,再复制到曾出故障的电脑上。

7.还有一种极端的方法:单击开始,运行,输入CMD,进入命令行。浏览到NSIS安装文件路径,执行程序名.exe /ncrc,安装程序将不作自身校验,强制进行安装。

8.另外,也有网友说NSIS错误,与内存条故障有关。建议使用硬件检测程序检查内存条的性能。可以尝试拔下内存条,重插一次。

9.也有朋友是在中文系统安装英文软件遇到这个故障,将系统缺省语言修改为英文后,安装成功。另外,建议不要把安装源保存在中文路径,安装目标,也最好不使用中文。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
AnimationTabLayout是一个可以实现选项卡布局的Android库,它提供了许多不同的选项卡切换动画,包括淡入淡出、旋转、缩放等等。在Niuniu_NSIS_SetupSkin中,我们可以使用AnimationTabLayout来实现安装界面的轮播效果。 首先,我们需要在项目的build.gradle文件中添加以下依赖项: ``` dependencies { implementation 'com.gauravk.bubblenavigation:bubblenavigation:1.0.7' } ``` 然后,在安装界面的布局文件中,我们可以定义一个AnimationTabLayout来作为选项卡布局,如下所示: ``` <com.gauravk.bubblenavigation.BubbleNavigationConstraintView android:id="@+id/bottom_navigation_view_constraint" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" app:layout_constraintBottom_toBottomOf="parent" app:menuResource="@menu/bottom_navigation_items" /> <com.gauravk.bubblenavigation.BubbleNavigationLinearView android:id="@+id/top_navigation_view_linear" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="top" app:layout_constraintTop_toTopOf="parent" app:menuResource="@menu/top_navigation_items" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_home" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_home_black_24dp" app:title="@string/home" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_search" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_search_black_24dp" app:title="@string/search" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_notifications" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_notifications_black_24dp" app:title="@string/notifications" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_profile" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_person_black_24dp" app:title="@string/profile" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_settings" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_settings_black_24dp" app:title="@string/settings" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_help" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_help_black_24dp" app:title="@string/help" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_about" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_info_black_24dp" app:title="@string/about" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_exit" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_exit_to_app_black_24dp" app:title="@string/exit" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_feedback" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_feedback_black_24dp" app:title="@string/feedback" /> <com.gauravk.bubblenavigation.BubbleToggleView android:id="@+id/btn_share" android:layout_width="wrap_content" android:layout_height="wrap_content" app:icon="@drawable/ic_share_black_24dp" app:title="@string/share" /> ``` 其中,我们使用了BubbleNavigationConstraintView和BubbleNavigationLinearView来实现选项卡布局,同时添加了多个BubbleToggleView作为选项卡按钮。 接下来,在安装界面的Java代码中,我们可以使用AnimationTabLayout的setSelectedChangeListener方法来实现选项卡切换时的动画效果,如下所示: ``` bubbleNavigationConstraintView.setNavigationChangeListener(new BubbleNavigationChangeListener() { @Override public void onNavigationChanged(View view, int position) { viewPager.setCurrentItem(position, true); } }); bubbleNavigationLinearView.setNavigationChangeListener(new BubbleNavigationChangeListener() { @Override public void onNavigationChanged(View view, int position) { viewPager.setCurrentItem(position, true); } }); viewPager.setAdapter(new SectionsPagerAdapter(getSupportFragmentManager())); viewPager.setOffscreenPageLimit(5); viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { @Override public void onPageSelected(int position) { bubbleNavigationConstraintView.setCurrentActiveItem(position); bubbleNavigationLinearView.setCurrentActiveItem(position); } @Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { } @Override public void onPageScrollStateChanged(int state) { } }); ``` 在这段代码中,我们首先使用setNavigationChangeListener方法来设置选项卡切换时的监听器,然后使用setCurrentItem方法来设置当前选项卡的位置。接着,我们使用setAdapter方法来设置选项卡的适配器,并使用addOnPageChangeListener方法来监听选项卡的滑动事件。在onPageSelected方法中,我们使用setCurrentActiveItem方法来设置当前选项卡的位置。 通过以上步骤,我们就可以使用AnimationTabLayout来实现Niuniu_NSIS_SetupSkin的安装界面轮播效果了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值