silent-installer

NSIS automatic and silent update

丶灬走出姿态 提交于 2019-12-01 05:35:54
问题 I am currently building an application and want to have an installer and automatic silent updates for it. Dropbox, Spotify and Chrome all are amazing at updating without anyone noticing. So I took a look at the Dropbox Roaming Folder in AppData and found a file named DropboxUpdateHelper.exe with an NSIS Icon. In the Spotify folder I could only find a SpotifyHelper.exe and a mentioning of NSIS in the Terms. Is there a tutorial of how to install an application inside the Roaming Folder and have

C# code to run my installer.exe file in silent mode, in the background, [duplicate]

半世苍凉 提交于 2019-12-01 03:01:17
问题 This question already has answers here : How to run silent installer in C# (2 answers) Closed 5 years ago . I have this C# code: string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); ProcessStartInfo psi = new ProcessStartInfo(); psi.Arguments = "–s –v –qn"; psi.CreateNoWindow = true; psi.WindowStyle = ProcessWindowStyle.Hidden; psi.FileName = desktopPath + "\\" + "MyInstaller_7.1.51.14.exe"; Process.Start(psi); The first line simply grabs the path of my desktop

Install / Unistall from shell command in Android

两盒软妹~` 提交于 2019-11-30 04:09:31
I want to implement a silent installer-from-apk-file and unistaller-package in Android. The topic has largely been discussed on SO and elsewhere but I can't apply any for some reason that I'm missing. The scope is obviously hard to achieve because, if successful, it would be a serious security breach in Android. BUT, I need to implement it for a special project, not for the consumer market. There are two approaches: to generate a custom ROM from a source code (AOSP or Cyanogen mod, for example), by tweaking the PackageManager installer (in fact just to remove the user acceptance dialog boxes).

How to run silent installer in C#

僤鯓⒐⒋嵵緔 提交于 2019-11-29 15:43:00
I have the following C# code: string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); Process.Start("cmd.exe", "/c" + desktopPath + "\\" + "MyInstaller_7.1.51.14.exe –s –v –qn"); The first line gets the path of my desktop where the .exe is located. The string desktopPath is used in the second line. The second line is supposed to start the installer in silent mode, so that the process runs in the background and the installation wizard does NOT appear at all. Running the string result of desktopPath + "\\" + "MyInstaller_7.1.51.14.exe –s –v –qn" in the command prompt

Silent installation

一个人想着一个人 提交于 2019-11-29 08:02:29
I am writing a InstallerClass using C# as a custom action for my installer, and I can successfully run an external exe (installation) using the InstallerClass , but when I try to use /quiet in the InstallerClass , it does not install the exe. But I can successfully install this in silent mode using /quiet in the command prompt. Is there any reason for this or otherwise how to install in silent mode using C#? Following is the code I use within the Commit method (overriden): Process p = new Process(); p.StartInfo.UseShellExecute = false; p.StartInfo.FileName = pathExternalInstaller; p.StartInfo

Install / Unistall from shell command in Android

自闭症网瘾萝莉.ら 提交于 2019-11-29 01:35:59
问题 I want to implement a silent installer-from-apk-file and unistaller-package in Android. The topic has largely been discussed on SO and elsewhere but I can't apply any for some reason that I'm missing. The scope is obviously hard to achieve because, if successful, it would be a serious security breach in Android. BUT, I need to implement it for a special project, not for the consumer market. There are two approaches: to generate a custom ROM from a source code (AOSP or Cyanogen mod, for

PackageInstaller \"Silent install and uninstall of apps by Device Owner” - Android M Preview

谁说胖子不能爱 提交于 2019-11-28 19:28:50
PackageInstaller ( https://developer.android.com/reference/android/content/pm/PackageInstaller.html ) seems to have been added starting in API 21 (Lollipop), however I have not found any solid code examples on how to install an APK via this API. Any code help would be appreciated. I’m investigating COSU/Kiosk apps for Android M Preview and was trying to implement the new feature "Silent install and uninstall of apps by Device Owner” ( https://developer.android.com/preview/api-overview.html#afw ) via the PackageInstaller API. Found these, but not helpful: How to install/update/remove APK using

Silent installation

流过昼夜 提交于 2019-11-28 01:23:51
问题 I am writing a InstallerClass using C# as a custom action for my installer, and I can successfully run an external exe (installation) using the InstallerClass , but when I try to use /quiet in the InstallerClass , it does not install the exe. But I can successfully install this in silent mode using /quiet in the command prompt. Is there any reason for this or otherwise how to install in silent mode using C#? Following is the code I use within the Commit method (overriden): Process p = new

Can the resulting command line be determined after running an .msi installer?

本小妞迷上赌 提交于 2019-11-27 16:25:55
If I want a silent install, is there any simple way of running the installer, selecting the desired options and then determining the msiexec options/switches necessary for an equivalent installation? (Preferably without actually installing anything - not clicking finish) Or is digging through the MSI database all you can do to find the desired properties? Yes, it sounds like you need to create a response transform (MST). A lot of the tools linked to above are premium tools (not worth paying for a response transform!!) but I used this a while ago (this tool is free) and it seemed to work well:

Batch script to install MSI

左心房为你撑大大i 提交于 2019-11-27 08:30:15
I am trying to write a .bat for the first time. I am trying to install .msi using script, currently we are installing manually by double clicking on it. Path from : d:/installed sw/$folder/.msi Path to : D:/program files/app/ $folder means, it is different every time, as we are getting new msi to install which are provided in folder created by current date. Here is the script I am trying: @echo off Title HOST: Installing Updates on %computername% echo %computername% set server=\\SERVERNAME or PATH\msifolder :select cls echo Select one of the Following MSI Install Folders for installation task.