windows-installer

MSI installer for non admin user

眉间皱痕 提交于 2020-06-28 02:07:53
问题 I created a msi package which will copy files and folder from production location to users machine and registers the required dll in local users machine. Local users don't have admin rights on any machine now. but installer which i created registers some dll, here is the problem. Registeration logic fails when non admin users tries to run the installer. I got some feed back from my system admin to "We need to change the Installsheild permissions from executing as the 'interactive user' to

Create msix package manually without GUI or msi installer

与世无争的帅哥 提交于 2020-06-27 08:06:16
问题 Can anyone give me a hint how I can manually define a msix package? My application has no msi package (yet), so I can’t simply convert it. Is there a way to create like a configuration file where I define manually which files need to go into the msix package? The MSIX GUI Creator doesn’t give me enough control either. Any link or help is highly appreciated 回答1: As Stein recommended, an easy way is to get the Express edition from Advanced Installer and just create an empty new project ( not

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment

て烟熏妆下的殇ゞ 提交于 2020-06-24 07:41:05
问题 I have Win 10 When running: conda update conda I encountered this error: RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment. Nothing seems to help I tried to uninstall anaconda and got a successful message but it seems there are some traces of older version that still persist How can I completely erase all traces of Anaconda installation? 回答1: While I still did not find how to cleanly uninstall anaconda, I was able to resolve the error

How to Reproduce MSI Install Error

二次信任 提交于 2020-06-17 13:22:46
问题 There is some way to reproduce/Inject some MSI install error? I would like my install will fail with some error 1xxx/2xxx.. (msi error codes) it doesn't matter which error code, What important that in the MSI logs I will see "Retun value 3". * I am using WIX 回答1: Not 100% sure what you need. Are you testing Windows Installer rollback and wanting to trigger it from your custom action? Or maybe you just want to write something into your MSI log file without triggering rollback? I suppose you

WIX Toolset I want the ActionData log to continue to be written as a scroll

醉酒当歌 提交于 2020-06-17 09:44:34
问题 If you add ActionData to the Subscribe event in Edit Control on Wix, the line is written and erased. I want the ActionData log to continue to be written as a scroll. 回答1: Burn : WiX Burn allows you to write your own GUI to run your installer. You should be able to implement whatever you want in terms of GUI if you go down that path. However: installers run quicker and quicker as IO becomes better, are you sure this is time well spent? I'd say just use logging and be done with it? See my

WiX RegistrySearch in all subdirectories

别来无恙 提交于 2020-06-17 07:38:35
问题 I need to check whether an any version of some product is already installed. <RegistrySearch Id="MyId" Root="HKLM" Key="SOFTWARE\Company\{ANY FOLDER}" Name="MY_KEY_NAME" Type="file" /> Is it possible to use RegistrySearch for searching in all subdirectories? 回答1: AppSearch / RegLocator doesn't support recursion. You'll either need a custom action or change the way you store data in the registry. 回答2: To my knowledge and from the documentation I see nothing that points to RegistrySearch

Installing .msi remotely without powershell?

本小妞迷上赌 提交于 2020-06-17 06:33:26
问题 We have a multi server system that we need to install at a client site. I would like to put together a script that can: Turn off services on remote machines Uninstall software on several remote machines Install .msi files several remote machines I've struggled with psexec and wmic to do points #2 and #3. It seems like there has to be an easier way without having to resort to PowerShell . 回答1: First, see this thread for WSH Remoting : Remote Install on Windows Server 2012 R2. Then, you can

Installing .msi remotely without powershell?

烂漫一生 提交于 2020-06-17 06:33:13
问题 We have a multi server system that we need to install at a client site. I would like to put together a script that can: Turn off services on remote machines Uninstall software on several remote machines Install .msi files several remote machines I've struggled with psexec and wmic to do points #2 and #3. It seems like there has to be an easier way without having to resort to PowerShell . 回答1: First, see this thread for WSH Remoting : Remote Install on Windows Server 2012 R2. Then, you can

How to pass arguments to MSI file with PowerShell

核能气质少年 提交于 2020-06-17 04:22:21
问题 I've read that you can pass arguments to a .msi file, but I have no idea how to do it correctly. I've tried the following, where $ArgumentList is an array. $ArgumentList = @("/i .\NSClient v67.msi", "/norestart", "/quiet", "/l*v '$directory'", "token=$token", "host=$_host", "mode=$mode") Start-Process "msiexec" -ArgumentList $ArgumentList -Wait -NoNewWindow This is part of my script, where I'm trying to install NetSkope on my machine by executing a command. In theory, the command should look

How to pass arguments to MSI file with PowerShell

只愿长相守 提交于 2020-06-17 04:21:59
问题 I've read that you can pass arguments to a .msi file, but I have no idea how to do it correctly. I've tried the following, where $ArgumentList is an array. $ArgumentList = @("/i .\NSClient v67.msi", "/norestart", "/quiet", "/l*v '$directory'", "token=$token", "host=$_host", "mode=$mode") Start-Process "msiexec" -ArgumentList $ArgumentList -Wait -NoNewWindow This is part of my script, where I'm trying to install NetSkope on my machine by executing a command. In theory, the command should look