Search found 55 matches

Go to advanced search

by bjk68
Tue Apr 26, 2016 2:33 pm
Forum: Common Problems
Topic: Logging an event using a powershell custom action
Replies: 2
Views: 3083
 
Jump to post

Logging an event using a powershell custom action

An event can be logged to the MSI logfile using a vbscript custom action:
http://www.advancedinstaller.com/user-g ... ction.html

Does anyone know if this is possible from a Windows Powershell custom action too? And if so, how?

Thanks,

Bart
by bjk68
Thu Jan 26, 2012 3:50 pm
Forum: Common Problems
Topic: Security issue with backup copy Web.config.back
Replies: 2
Views: 5223
 
Jump to post

Security issue with backup copy Web.config.back

When the file Web.config is updated by Advanced Installer, and the option to create a backup file is enabled (recommended), the file Web.config.back is created. Or web.config.1.back if it is already present. A webserver ignores requests for files with the ".config" extension, but requests ...
by bjk68
Tue Nov 15, 2011 11:50 am
Forum: Common Problems
Topic: Service Account and trailing spaces
Replies: 1
Views: 2776
 
Jump to post

Service Account and trailing spaces

On the Service properties page the Service Account username and password input fields are not trimmed or validated. I used copy/paste to enter the username, but inadvertently copied a trailing space wih it. Of course the installation of the service failed, but it took me almost a day to find out tha...
by bjk68
Tue Oct 25, 2011 4:16 pm
Forum: Common Problems
Topic: Error after upgrading to version 8.6
Replies: 2
Views: 3798
 
Jump to post

Re: Error after upgrading to version 8.6

I sent my project templates to Advanced Installer Support and they fixed and returned them within an hour! :D

Thanks!
by bjk68
Tue Oct 25, 2011 3:16 pm
Forum: Common Problems
Topic: Error after upgrading to version 8.6
Replies: 2
Views: 3798
 
Jump to post

Error after upgrading to version 8.6

When I open any of my Custom Templates, an Error window pops up with the following text: Malformed control tab-order on dialog: "FatalError". :shock: When I click on "OK" the template opens, but I don't know how to fix this error. This happens since I upgraded from version 8.5 to...
by bjk68
Wed Sep 07, 2011 3:38 pm
Forum: Feature Requests
Topic: Advanced Installer Integration
Replies: 2
Views: 4565
 
Jump to post

Advanced Installer Integration

Hi, Thanks for integrating AI with Visual Studio 2010. Suggestion -1- The version of a C# application is located in the file SolutionInfo.cs. It would be a nice feature if AI could optionally check (during build) if this version equals the version as defined within the AI project. Suggestion -2- Sho...
by bjk68
Wed Sep 07, 2011 3:16 pm
Forum: Common Problems
Topic: Visual Studio Integration
Replies: 2
Views: 3339
 
Jump to post

Visual Studio Integration

Hi, Thanks for the integration of AI in Visual Studio 2010. I presume the integration will be pushed to a higher level in the next releases of AI. Bug report -1- The AI viewer/editor page in Visual Studio does not alert you to change the ProductCode when changing the version. :shock: This could lead...
by bjk68
Thu May 05, 2011 9:17 am
Forum: Feature Requests
Topic: Prevent opening a template file as AI project
Replies: 1
Views: 3613
 
Jump to post

Prevent opening a template file as AI project

Despite our well documented installer procedures, new collegues sometimes misinterpret the idea of an installer template. They copy the template from our central templates location, and use it as starting point for their installer. The result is that the UpgradeCode of the template becomes the Upgra...
by bjk68
Tue Apr 12, 2011 4:49 pm
Forum: Common Problems
Topic: Aip files disappear from Solution Items in Visual Studio
Replies: 6
Views: 6523
 
Jump to post

Re: Aip files disappear from Solution Items in Visual Studio

The backup project simply gets created next to the main .AIP so there must be another reason behind this behavior. I monitored the creation of the .back.aip file with Process Monitor from SysInternals. When the installer project is saved, the following events show up in the process monitor log: The...
by bjk68
Tue Apr 12, 2011 1:35 pm
Forum: Common Problems
Topic: Aip files disappear from Solution Items in Visual Studio
Replies: 6
Views: 6523
 
Jump to post

Re: Aip files disappear from Solution Items in Visual Studio

Can you please give us more details about the reason you are including the .AIP into your solution? We like to add every part of our application that must be maintained to the Visual Studio solution. This includes the manual (Word file) en the AI project file. We store these in a solution folder. T...
by bjk68
Tue Apr 12, 2011 8:17 am
Forum: Common Problems
Topic: Aip files disappear from Solution Items in Visual Studio
Replies: 6
Views: 6523
 
Jump to post

Aip files disappear from Solution Items in Visual Studio

We include our AI project files as Solution Items in a Visual Studio 2010 Solution folder. When AI creates a .back.aip file, the aip file (sometimes) disappears from the Solution folder. We have to manually add it again. Visual Studio has the same issue with Word and Excel files. The problems occurs...
by bjk68
Wed Dec 29, 2010 5:47 pm
Forum: Common Problems
Topic: New Performance Counters not present after Upgrade
Replies: 0
Views: 119948
 
Jump to post

New Performance Counters not present after Upgrade

The new version of my application contains some new Performance Counters. After upgrading to the latest version, these new Performance Counters are not installed. :shock: There are no issues found in the installation logs, and the new dll, containing the new Performance Counters, is copied to the in...
by bjk68
Mon Dec 27, 2010 4:19 pm
Forum: Feature Requests
Topic: Howto: Debug .Net Installer Class Custom Action
Replies: 1
Views: 5089
 
Jump to post

Howto: Debug .Net Installer Class Custom Action

Please add the following to the AdvancedInstaller documentation: A relatively easy way to debug the Install or Uninstall method called at the Predefined Custom Action ".Net Installer Class Action" is by adding the following lines to your sourcecode: using System.Diagnostics; using System.R...
by bjk68
Tue Dec 14, 2010 3:13 pm
Forum: Feature Requests
Topic: Prevent remove/add Scheduled Task during Upgrade
Replies: 3
Views: 6022
 
Jump to post

Re: Prevent remove/add Scheduled Task during Upgrade

Hi Cosmin,

Thanks for the advise. Maybe you can put my suggestion on your TODO list?

Regards,
Bart
by bjk68
Tue Dec 14, 2010 11:11 am
Forum: Feature Requests
Topic: Prevent remove/add Scheduled Task during Upgrade
Replies: 3
Views: 6022
 
Jump to post

Prevent remove/add Scheduled Task during Upgrade

How can we prevent that a Scheduled Task is removed and added again during an upgrade. Any settings that were changed by hand after the first install now are lost after an upgrade. :( I noticed there is an Install Condition field, but where is the Uninstall Condition field for the Scheduled Task? :i...

Go to advanced search