-
Junuxx
c# wpf installer windows-installer
I have a WPF program written in VS2010 and everything runs fine. Created a windows installer project and built that ok. Ran the setup.exe file fine. When I come to run the installed application nothing happens for about 10 seconds then I get the program has stopped working etc.If I go into the event viewer I can see the application has thrown the following error:Application: BarcodeScanner.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Ex
-
Devashri
c# windows-installer
I want to read properties of MSI in C# in desktop application.I am using following code:public static string GetMSIProperty( string msiFile, string msiProperty){string retVal= string.Empty ;Type classType = Type.GetTypeFromProgID(“WindowsInstaller.Installer”);Object installerObj = Activator.CreateInstance(classType);WindowsInstaller.Installer installer = installerObj as WindowsInstaller.Installer;Database database = installer.OpenDatabase(“C:\\DataP\\sqlncli.msi”,0 ); string sql = String.Forma
-
Stuart Lange
wix msi windows-installer msiexec
I have an msi (authored with WIX) that has a check box bound to a custom property (call it MY_PROPERTY). I would like to run this msi from the command line, specifying 0 (unchecked) or 1 (checked) for this property. My script will determine the appropriate value (based on the environment) and inject that value into the msiexec command line. My command line looks something like this:msiexec /i my_installer.msi MY_PROPERTY=$valueWhere $value is 1 or 0, depending on the environment. The problem
-
dskiles
wix msi windows-installer
I’m currently learning the vagaries of WiX and Windows installer and I’ve hit a stumbling block.The project that I’m currently packaging is made up of six discrete chunks. For now let’s call them A, B, C, D, E, and F.Chunk A is a set of common libraries and utilities that are used by every other project. It does not present any end-user functionality.Chunk B is another set of common libraries and utilities that require functionality provided by Chunk A. This seems odd, but the architecture is
-
Christoph Jürgensmeier
windows-installer
I finally got my embedded chainer msi running, with four sub msi’s being installed via Installer.InstallProduct in my C# chainer.exe (like described in the one and only chainer example found elsewhere here on stackoverflow). My problem: if I uninstall the package afterwards, when “transaction.Join” is called, this time it failes with MSI error: bad handle. I have to kill the msiexec.exe process in taskmanager, and then everything is running ok.Any suggestions?Addendum: I’m using Windows Installe
-
C123
wix windows-installer
I would like to display to the users a summary page at the end of the installation that shows what features were installed. The ADDLOCAL property contains this information, but I cannot figure out how to display its value on a dialog. Adding it as the Text property of a Control does not work. <!– Does not display anything –> <Control Id=”InstalledFeaturesText” Type=”Text” … Text=”[ADDLOCAL]” />Thanks.
-
Kelsey
-
Jagadesh
java windows-installer ireport netbeans6.5
I am trying to create an executable file (.exe) of iReport with my module included in it. While I run the target the create-iReport-distro-win-installer, I am getting the following error. Note: I am using netbeans 6.5.1java.io.IOException: Cannot run program “makensis” (in directory “C:\Program Files\NetBeans 6.5.1\iReport-3.7.2-src”): CreateProcess error=2, The system cannot find the file specifiedat java.lang.ProcessBuilder.start(ProcessBuilder.java:459)at java.lang.Runtime.exec(Runtime.java:5
-
aberry
python windows-installer binary-data
I am reading a MSI file using python msilib library. My aim is to extract [Binary Data] from Binary table and dump into a file. (Using ORCA tool, we can extract the binary data by double clicking [Binary Data] cell and write to a file)I could not find any msilib method to get binary data. It have method to get string data using Record.GetString(field). But as expected this is not working for [Binary Data] and give error. Here is the code snippetimport msilib # msi file path which is to be read
-
dasari rama charan prasad
c# wix windows-installer
I need query to create binary table using wix code and C#.eg: i am able to create ‘AppSearch’ table if not present in the msi using the code belowDatabase database = new Database(tempmsiPath, DatabaseOpenMode.Direct); string query = “CREATE TABLE `AppSearch` (`Property` CHAR(255) NOT NULL, `Signature_` CHAR(255) NOT NULL PRIMARY KEY `Property`)”; database.Execute(query);but when i try query = “CREATE TABLE `Binary` (`Name` CHAR(255) NOT NULL, `Data` Binary NOT NULL PRIMARY KEY `Name`)”
-
wal
windows-7 msi windows-installer
There is similar questions on SO such as this and this however both suggest ClickOnce which I don’t (can’t) use.I have started a new Setup project (InstallAllUsers=false) and have specified theApplication Folder to be [LocalAppDataFolder][ProductName]which at install time points toC:\Users\nonadmin\AppData\Local\Setup1\When running the installer on Windows 7 as a non-admin I get this:From my perspective it appears all the MSI does is copy the one text file to C:\Users\nonadmin\AppData\Local\Setu
-
se_pavel
wix windows-installer
I am writing an installer that also contains MSI package built using WIX. I check the return code after running msiexec and skip some error codes. For example user should’t receive error when return code is 1638 (product has already installed)But when the older version of product was installed the return code is 1603 (unknown error). I also want to skip this situation (user already get newer version)Wix code is<Upgrade Id=”<GUID>”><UpgradeVersion Minimum=”$(var.product_version)” O
-
user2437605
wix windows-installer
I have created an MSI using WIX. This is working fine for install/Un-install.When i tried to re-install the MSI it shows lot of errors. from the log it shows that could not register component.ComponentRegister(ComponentId={A35FD4BC-66CA-4BE0-BCBA-EDEA2DFC7FD3},KeyPath=C:\Program Files\Common Files\{Appname}\Config\0.reg,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0) MSI (s) (54:F0) [13:56:53:819]: Note: 1: 1402 2: UNKNOWN\Components\CB4DF53AAC660EB4CBABDEAED2CFF73D 3: 1450MSI (s) (54:F0) [13:
-
Ralph Willgoss
c# wix windows-installer
I am using Visual Studio 2010, with the Votive addin on Windows 7, .net4, and the latest WiX 3.7 to create an msi.The install is quite complex, and works fine when I test it on my pc.During the install, I run some custom actions. One of those custom actions needs an external SQLite dll for database access that is only required by the custom action.When I run it on a pc that doesn’t have my dev environment, just plain windows 7, I get a file not found error. This, it would seem obvious is because
-
Oyiwai
c# windows-installer
Pretty buffled by this. Is not the first time I’m building a setup- and never seen anything like this..Basically, as soon as I add a custom action, and try to install, I get this error.I do have an installer class in place with all the required code fields, and it’s the same fields that I used in my previous installer classes.[RunInstaller(true)] public partial class Installer : System.Configuration.Install.Installer {public Installer(){InitializeComponent();}public override void Commit(IDiction
-
itsmeisuru
wix windows-installer wix3.6
I want to create a database in the installation process using wix 3.6 I followed many tutorials but I think there is something I am doing wrong.<?xml version=”1.0″ encoding=”UTF-8″?> <Wix xmlns=”http://schemas.microsoft.com/wix/2006/wi”xmlns:util=”http://schemas.microsoft.com/wix/UtilExtension”xmlns:sql=”http://schemas.microsoft.com/wix/SqlExtension”><Product Id=”{A704CA9E-2833-4276-A8A8-148F1047332F}” Name=”DbInstallerTest” Language=”1033″ Version=”1.0.0.0″ Manufacturer=”Microsof
-
Joel Coehoorn
windows-installer inno-setup
I am trying to create a setup for SourceForge PDFCreator using Inno Setup and getting following error in Setuplog.txt:Printerdriver-Directory (Environment: Windows 4.0):Result: Success = C:\WINDOWS\System32\spool\DRIVERS\WIN40 Printerdriver-Directory (Environment: Windows NT x86):Result: Success = C:\WINDOWS\System32\spool\DRIVERS\W32X86 InstallMonitor:Monitorname : PDFCreatorEnvironment : Windows NT x86Result: Error 193 = %1 is not a valid Win32 application Install printerport:Portname : PDF_Cr
-
Ken Richards
windows-services windows-installer custom-action
While uninstalling a VS2010 setup project I’m developing which installs a service, I am receiving the following error (taken from the verbose MSI logging):MSI (c) (60:90) [13:37:59:038]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell DlgError 1402. Could not open key: UNKNOWN\Components\216B73E88467B322BBFF14C949E03D05\F1DB4DDE64042404E8863AB2CA9520DF. System error 5. Verify that you have sufficient access to that key, or contact your support personnel. MSI (s) (84:A4