Advanced Installer Community - Search

Search found 21 matches

Go to advanced search

by t3knoid
Mon Nov 05, 2018 5:03 pm
Forum: Common Problems
Topic: Overwriting an XML Element value with a blank value
Replies: 8
Views: 7110
 
Jump to post

Re: Overwriting an XML Element value with a blank value

Thanks for confirming. I'll await for what development has to say. In the meantime, I ended up writing a utility that I run post-build. The utility simply blanks out the property values. It's a bit hacky, but it works. If anyone is interested, I shared the code here (C#). It's pretty specific to my ...
by t3knoid
Fri Nov 02, 2018 3:40 pm
Forum: Common Problems
Topic: Overwriting an XML Element value with a blank value
Replies: 8
Views: 7110
 
Jump to post

Re: Overwriting an XML Element value with a blank value

I just re-read the documentation and realize there is ans xml test feature.

https://www.advancedinstaller.com/user-guide/xml-test.html

I ran this test on the config file that it is supposed to modify. It basically performed as I've already observed:

- Settings that are being set with properties ...
by t3knoid
Fri Nov 02, 2018 3:28 pm
Forum: Common Problems
Topic: Overwriting an XML Element value with a blank value
Replies: 8
Views: 7110
 
Jump to post

Re: Overwriting an XML Element value with a blank value

Thanks for your reply.

Before you posted this suggestion, I actually tried setting the property to {} in a custom action (in the InstallExecuteSequence before). All it does is delete the property. It's doing the same thing with what you've suggested. I don't even see the property being initialized ...
by t3knoid
Fri Nov 02, 2018 3:47 am
Forum: Common Problems
Topic: Overwriting an XML Element value with a blank value
Replies: 8
Views: 7110
 
Jump to post

Re: Overwriting an XML Element value with a blank value

This is a real dilemma. I just realized that setting a property to empty basically deletes the property. That's why the old setting is never getting over written. I can set the value to a space. That works and the old value gets overwritten with a space, but that is not exactly the same as empty ...
by t3knoid
Thu Nov 01, 2018 11:42 pm
Forum: Common Problems
Topic: Overwriting an XML Element value with a blank value
Replies: 8
Views: 7110
 
Jump to post

Overwriting an XML Element value with a blank value

I can't seem to overwrite an XML element's value with a blank one. My installer uses an XML Element for the application configuration file whose element values are overwritten dynamically during install depending on some criteria.

For example, let's say I have the following default value in my ...
by t3knoid
Fri Jul 13, 2018 7:27 pm
Forum: Common Problems
Topic: ProductFullVersion property
Replies: 1
Views: 4312
 
Jump to post

ProductFullVersion property

In the past, I had set the ProductFullVersion property so that the installer executable file version property shows this value. However, an installer that I have written using version 14.7 doesn't seem to show this value in the executable's file version property that it creates.

I'n my build script ...
by t3knoid
Tue Apr 17, 2018 5:00 pm
Forum: Common Problems
Topic: Writing to log now working during Install Execution Stage
Replies: 3
Views: 3280
 
Jump to post

Re: Writing to log now working during Install Execution Stage

Thanks for your response. The custom actions are set to run "Immediately." I will provide an example when I get a chance. Thanks for the clarification.
by t3knoid
Tue Apr 10, 2018 9:46 pm
Forum: Common Problems
Topic: Writing to log now working during Install Execution Stage
Replies: 3
Views: 3280
 
Jump to post

Writing to log now working during Install Execution Stage

My custom action uses a helper method that writes to the installer session log file. The method works fine when I access it from a custom action that is executed from the UI sequence. However, in all the custom actions that are executed in the Install Execute sequence, nothing is written to the log ...
by t3knoid
Wed Nov 08, 2017 6:01 pm
Forum: Common Problems
Topic: SetVersion and ComponentIDs
Replies: 2
Views: 3409
 
Jump to post

Re: SetVersion and ComponentIDs

Hi Dan,

The bug is something with our installs. Basically installs that are installed side-by-side uninstalls components that are in our "common" folder. I didn't think component IDs change when version numbers are changed. Thanks for clarifying how the "Allow side by side installs option" affects ...
by t3knoid
Tue Nov 07, 2017 7:36 pm
Forum: Common Problems
Topic: SetVersion and ComponentIDs
Replies: 2
Views: 3409
 
Jump to post

SetVersion and ComponentIDs

I just noticed that componentIDs are changed whenever I use SetVersion to update the version number of the installer. Doesn't this cause problems with upgrades and shared component installation? I am asking because we recently found a bug where shared components that we've been using was being ...
by t3knoid
Fri Jun 30, 2017 9:20 pm
Forum: Common Problems
Topic: CustomAction in UI Init Event executing during silent install
Replies: 5
Views: 5348
 
Jump to post

CustomAction in UI Init Event executing during silent install

I am not sure if this is normal. I thought that any custom action associated with a UI is skipped. In this case I have an init event in a dialog that is getting executed during silent mode.
by t3knoid
Fri Jun 30, 2017 8:07 pm
Forum: Common Problems
Topic: Unable to share dialogs between sections
Replies: 1
Views: 2309
 
Jump to post

Unable to share dialogs between sections

My project has lost the ability to share a dialog between sections. It's a dialog that I have created. I'm not sure what I did to cause this. I am using version 14.1.
by t3knoid
Thu May 18, 2017 7:57 pm
Forum: Common Problems
Topic: Could not create cabinet file error with AI v14.0.1
Replies: 1
Views: 3619
 
Jump to post

Could not create cabinet file error with AI v14.0.1

I finally decided to upgrade our installs from 11.1 to 14.0.1. My initial tests showed no problems. I am able to build the upgraded project from my dev machine.

However, when I build the same code using our build machines, I get the following error:

Could not create cabinet file

Advanced ...
by t3knoid
Tue Apr 18, 2017 7:14 pm
Forum: Building Installers
Topic: Using a user-defined property for file search
Replies: 6
Views: 8337
 
Jump to post

Re: Using a user-defined property for file search

I've ran more tests. It's definitely looking like the order in which the property is on the AppSearch table determines its enumeration. For example, here's the MSI that is generated for my installer:

4-18-2017 2-05-24 PM.png

The log entries for each property enumeration shows exactly in the ...

Go to advanced search