advanced-installer

How to choose a default option when Advanced Installer try to install a program which has been installed in Windows?

故事扮演 提交于 2021-01-29 09:53:11
问题 I have a "setup.exe" install program and i will run it in NoneUI(silent) model in a custom Winform program. In the normal UI model , if the same version program has been installed , the interface will display 3 options : "modify" , "repair" & "remove" . But i don't know what installer will do in the silent model , and how to choose the default option ? 回答1: Maintenance Operations : I am not 100% sure what you are asking, but let's try. These options " modify ", " repair " and " remove " apply

How do I avoid distributing sensitive information in my MSI by accident?

 ̄綄美尐妖づ 提交于 2019-12-28 03:11:06
问题 How do I avoid distributing sensitive information in my WiX / MSI by accident? I distributed a password, machine name or login credentials by accident with my MSI file. How do I best deal with this problem? After deployment my application connects erronously to my QA / UAT systems instead of my production systems - because of a faulty debugging construct in my setup's custom action code. How can I detect and avoid this? How do I avoid distribution such information in general? This is a Q/A

Use DLL that is not installed on the system

不羁岁月 提交于 2019-12-25 18:45:18
问题 I am creating a C# CustomAction DLL from which I have to use another DLL that is not (yet) installed on the target system, but included in my installer. How will I be able to use this DLL in my C# CustomAction? The reason is that I have to check whether the provided credentials are accepted by the Web service this DLL hooks into before I write the credentials into web.config and encrypt web.config. 回答1: You could always try this - seems to be what you're looking for, a way to get the Dll and

Why use Project Centennial when we have Advanced Installer?

时光怂恿深爱的人放手 提交于 2019-12-25 05:04:04
问题 I am using Project Centennial (Desktop App Convertor) to convert the MSI/EXE to UWP Application. I came across Advanced Installer and wondered why not use that instead of Project Centennial. Is it because of the below reasons. Project Centennial - Not licensed, Command handling. Advanced Installer - Licensed, Easy UI. 回答1: Perhaps because Advanced Installer is a commercial third-party product and Project Centennial, or the Desktop Bridge which the official name is, is an easy and free option

stop installation if detect process is running

偶尔善良 提交于 2019-12-24 18:11:10
问题 I want to check if a process is running before installing a new add-in using the advance installer. To make that, in custom Actions, I select detect process and put the process that I want to stop. With that I get AI_PROCESS_STATE Running or Stopped. But now I don't know what to do to stop the installation if it is Running or at least show a message telling that is necessary to close it before continue. There are options like display message box but if I put them they always appear. I don't

SQL Server 2012 doesn't install silently in Advanced Installer 11.4.1

独自空忆成欢 提交于 2019-12-13 06:00:38
问题 My program needs SQL Server 2012 Express. So I added "Microsoft SQL Server 2012 Express" in feature-based as you can see here : I need to install the SQL Server Express in the background without any wizard installation so I added these parameters to my setup file : SQLEXPR_x64_ENU.exe /qs /ACTION=Install /FEATURES=SQLENGINE /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" I added these

Wix installer upgrade with same “upgrade code” ID shows privilege error prompt

◇◆丶佛笑我妖孽 提交于 2019-12-11 07:48:04
问题 I have developed the windows service and created the MSI installer using Wix toolset , then distributed to users. it is working as expected. Let's name this msi as version 1.0.0.0 Now, it's time to deliver a new build with service enhancements. Hence, I have created a new msi. Let's name it version 2.0.0.0 . I was hoping that the execution of new msi shall upgrade the existing application. But I get below error, basically, it's unable to start the service Here is the code from 1.0.0.0 <

How to set jar application to use Java 6 instead of 7

三世轮回 提交于 2019-12-08 01:59:33
问题 How can I set my java jar application to use jre 6 instead of jre 7? I'm doing this because there are some compatibility issue with the libraries I'm using if the application use jre 7. Edit: The application will come with its own installers (using advanced installer) that have a jre6 installer. But I don't know how to trace the installation folder of the jre6. How can I trace it and make the jar file use the jre6? 回答1: When running your application using java.exe, you could provide the

Win32 installers: is there a way to write to HKU startup for each user?

无人久伴 提交于 2019-12-07 22:34:33
问题 Is there a Windows installer that will add to startup for each user like <user>\Software\Microsoft\Windows\CurrentVersion\Run for each user on the system? I can't write to HKLM because the program being installed is hardcoded to work with HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run when toggling the start-on-login preference. I'm also wondering how to deal with the situation where a user is created after the application is installed. Is there a place where I can put a key

Win32 installers: is there a way to write to HKU startup for each user?

懵懂的女人 提交于 2019-12-06 04:27:04
Is there a Windows installer that will add to startup for each user like <user>\Software\Microsoft\Windows\CurrentVersion\Run for each user on the system? I can't write to HKLM because the program being installed is hardcoded to work with HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run when toggling the start-on-login preference. I'm also wondering how to deal with the situation where a user is created after the application is installed. Is there a place where I can put a key in a default registry profile? Also what installer do you guys use? NSIS? Inno Setup? Advanced