Search found 26 matches

Go to advanced search

by njshaw2
Thu Sep 12, 2013 10:19 am
Forum: Common Problems
Topic: Problems with IIS after updating to AI 10.5
Replies: 22
Views: 21081
 
Jump to post

Re: Problems with IIS after updating to AI 10.5

Hi, I'm also getting this issue (happens on Windows 7 for me; appears to work ok under Windows 8) with AI 10.5.1.

Would it be possible for you to email me the patch too, as I'd prefer not to have to downgrade to AI 10.3 (if I still the installation for that version that is...)?

Thanks.
by njshaw2
Wed Sep 11, 2013 4:18 pm
Forum: Common Problems
Topic: "Product already installed" text is incorrect for OS
Replies: 1
Views: 2437
 
Jump to post

"Product already installed" text is incorrect for OS

Not sure if this is something Advanced Installer can control, or whether it's part of MSI itself, but the error box that pops up if you try to run the installer when another version of the product is already installed has a message that only applies to Windows XP: "Another version of this product is ...
by njshaw2
Thu Aug 29, 2013 12:24 pm
Forum: Common Problems
Topic: Native DLL doesn't work when built with .NET 4 framework
Replies: 6
Views: 8355
 
Jump to post

Re: Native DLL doesn't work when built with .NET 4 framework

I've found the reason, whilst creating a new simple DLL to test as you suggested. My original project's CustomActions.config file in the VS project had the element <supportedRuntime> set only to <supportedRuntime version="v2.0.50727"/>, which supports only up to .NET 3.5. For .NET 4.0 or 4.5, you ...
by njshaw2
Wed Aug 28, 2013 4:13 pm
Forum: Common Problems
Topic: Native DLL doesn't work when built with .NET 4 framework
Replies: 6
Views: 8355
 
Jump to post

Re: Native DLL doesn't work when built with .NET 4 framework

Hi Eusebiu,

I've got it working only by using some very complicated code, and it doesn't answer my actual question - why does my WiX DLL not work from the installer when compiled with .NET 4.0 or 4.5?

Thanks,
Nick.
by njshaw2
Wed Aug 28, 2013 3:53 pm
Forum: Common Problems
Topic: Native DLL doesn't work when built with .NET 4 framework
Replies: 6
Views: 8355
 
Jump to post

Re: Native DLL doesn't work when built with .NET 4 framework

For other people's info, I managed to do the enumeration check using the very helpful code from http://dotnetgalactics.wordpress.com/2010/05/10/accessing-64-bit-registry-from-a-32-bit-process/ , for .NET 3.5. Note that I had to query the 64-bit hive first, as querying the 32-bit hive (on a 64-bit ...
by njshaw2
Wed Aug 28, 2013 3:06 pm
Forum: Common Problems
Topic: Native DLL doesn't work when built with .NET 4 framework
Replies: 6
Views: 8355
 
Jump to post

Native DLL doesn't work when built with .NET 4 framework

I'm using a native C# installer DLL (built with the WiX toolset v3.7 and Visual Studio 2012) to call some custom functions from my installer. They work fine if I build them with .NET 3.5 framework, but if I use .NET 4.0 or 4.5, they fail immediately the function in question is called.

I'd really ...
by njshaw2
Wed May 08, 2013 12:51 pm
Forum: Building Installers
Topic: Get error code returned by an EXE custom action
Replies: 6
Views: 9369
 
Jump to post

Re: Get error code returned by an EXE custom action

Don't worry, tried it anyway and it copies that file before my dialog appears, so it's working nicely - many thanks!
by njshaw2
Wed May 08, 2013 11:59 am
Forum: Building Installers
Topic: Get error code returned by an EXE custom action
Replies: 6
Views: 9369
 
Jump to post

Re: Get error code returned by an EXE custom action

Thanks. When will it be copied to the PC if it's set as a Temporary File? I need to run my custom action within a custom dialog that is shown before the files are transferred, as the SQL settings have to be validated before file copying begins (well, specifically, before registry settings are set)...
by njshaw2
Tue May 07, 2013 11:26 am
Forum: Building Installers
Topic: Get error code returned by an EXE custom action
Replies: 6
Views: 9369
 
Jump to post

Re: Get error code returned by an EXE custom action

Hi Eusebiu,

How do I set up a DLL custom action to run an EXE file that is attached to my installation but isn't an installed file? In other words, how do I get the installer to unpackage the 'attached' EXE for my DLL to run? Or will I have to include the DLL as an "installed" file and just delete ...
by njshaw2
Mon Apr 29, 2013 2:18 pm
Forum: Building Installers
Topic: Get error code returned by an EXE custom action
Replies: 6
Views: 9369
 
Jump to post

Get error code returned by an EXE custom action

I've got a custom action running an 'attached file' which is an EXE file. That file returns 0 for ok, or some non-zero value for an error. This is picked up fine by the installer (it fails on non-zero return), but I want to be able to set a property to that return value so I don't have to abort the ...
by njshaw2
Mon Apr 29, 2013 10:16 am
Forum: Common Problems
Topic: Service error control not 'continuing' on error
Replies: 3
Views: 12147
 
Jump to post

Re: Service error control not 'continuing' on error

Thanks for the info Dan. Shame Microsoft can't fix such an obvious problem! :)

I think I've resolved the service detection problem; I've made them into out-of-sequence custom actions instead, and now execute them as Published Events when the user clicks the Finish button on the ExitDlg. That seems ...
by njshaw2
Mon Apr 29, 2013 9:39 am
Forum: Feature Requests
Topic: Left Pane search filter
Replies: 2
Views: 5346
 
Jump to post

Re: Left Pane search filter

Hi Bogdon,

I mean anywhere where you can select a Property, e.g. when editing a condition for a new Control Event in a dialog, I can click "Property" under "Insert Operand" in the Edit Condition dialog. That pops up a "Select a Property" popup dialog. Example screenshot attached.

Thanks.
by njshaw2
Thu Apr 25, 2013 4:18 pm
Forum: Building Installers
Topic: Find which MySQL ODBC driver is installed?
Replies: 2
Views: 6624
 
Jump to post

Re: Find which MySQL ODBC driver is installed?

Thanks Daniel, I'll give that a try!
by njshaw2
Thu Apr 25, 2013 2:15 pm
Forum: Common Problems
Topic: Service error control not 'continuing' on error
Replies: 3
Views: 12147
 
Jump to post

Service error control not 'continuing' on error

My installer installs a service as part of its jobs, which works fine. It is set to then start the service. There are certain conditions under which my service may not start (independent of the installer), and I want the installer to display a warning message to the user (to say they'll need to ...
by njshaw2
Wed Apr 24, 2013 3:17 pm
Forum: Building Installers
Topic: Find which MySQL ODBC driver is installed?
Replies: 2
Views: 6624
 
Jump to post

Find which MySQL ODBC driver is installed?

My installer needs to run an SQL ODBC test. This is done as a custom event using the built-in TestSqlConnection custom event. The [SqlConnectionString] parameter, however, has to be filled in with the MySQL ODBC driver name, e.g. "Driver=[\{]MySQL ODBC 5.1 Driver[\}];Server=[HOSTNAME];Port=[PORT ...

Go to advanced search