Search found 17 matches

Go to advanced search

by vcorazza
Tue Oct 20, 2020 4:38 pm
Forum: Feature Requests
Topic: XML file merge by command line
Replies: 1
Views: 18032
 
Jump to post

XML file merge by command line

.Net programs compilation produces a .config xml file with some elements added at compile time. Other program-specific configurations could be present in the file, added from the installer. AdvancedInstaller has the ability to visually merge the xml file from the source, but at command line I've fou...
by vcorazza
Thu Sep 24, 2020 9:46 am
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Re: Installer return code when prerequisite fails

The only reason I can think about is that the application is still running at the moment the framework is being uninstalled
by vcorazza
Thu Sep 24, 2020 7:13 am
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Re: Installer return code when prerequisite fails

I think that you are not able to completely uninstall .Net framework without a reboot. Have you tried to look at the logs of the .Net installer?
by vcorazza
Thu May 28, 2020 4:41 pm
Forum: Common Problems
Topic: Chained package condition evaluation fails if string comparison is present
Replies: 6
Views: 3626
 
Jump to post

Re: Chained package condition evaluation fails if string comparison is present

Hi, on the end the MY_VAR issue was a false positive issue: it was due to mistakes I've made in subsequent tests trying to isolate the real one. So forget about the MY_VAR. The problem I encountered here is the fact that package C is never launched, no matter how I pass the property to it (either MY...
by vcorazza
Fri May 22, 2020 5:27 pm
Forum: Common Problems
Topic: Chained package condition evaluation fails if string comparison is present
Replies: 6
Views: 3626
 
Jump to post

Re: Chained package condition evaluation fails if string comparison is present

Well, that's right. Thank you for your reply. Really my situation is a bit more complex, but trying to find the issue in my tests I made some mistakes. So this is the situation which I cannot find a solution for. I have an installer A, which has various prerequisites and a chained package B, which h...
by vcorazza
Tue May 19, 2020 4:29 pm
Forum: Common Problems
Topic: Chained package condition evaluation fails if string comparison is present
Replies: 6
Views: 3626
 
Jump to post

Chained package condition evaluation fails if string comparison is present

Hi I've struggled in understanding why a chained package was not installed, and on the end I think it is an AdvancedInstaller bug (version 16.8) The installer has an INI search parameter MYVAR. Then a chained package has to be installed based on this parameter. The condition that I use is: NOT Insta...
by vcorazza
Wed Dec 18, 2019 4:26 pm
Forum: Common Problems
Topic: Custom action on error
Replies: 3
Views: 2745
 
Jump to post

Re: Custom action on error

Thank you very much for your clear and quick response. But, what if the prerequisite that fails is launched, let's say, in the Searches phase (before the Path resolution phase)? Custom actions there do not have the On the During installation rollback option enabled. Or what if a prerequisite fails (...
by vcorazza
Wed Dec 18, 2019 12:18 pm
Forum: Common Problems
Topic: Custom action on error
Replies: 3
Views: 2745
 
Jump to post

Custom action on error

Hi, we have a complex installation project which launches various prerequisites and custom actions. We need to have a custom action to be launched whenever the installation fails for any reason: I have tried a custom action to be run "During installation rollback", but it seems not to be r...
by vcorazza
Mon Jul 29, 2019 3:28 pm
Forum: Common Problems
Topic: MS Defender 2019-07-29 update detects setup as a virus
Replies: 1
Views: 2567
 
Jump to post

MS Defender 2019-07-29 update detects setup as a virus

Today's Defender update is detecting a setup made with AdvancedInstaller 16.1 as virus. Before the update the setup was working correctly. An older setup with a previous AdvancedInstaller version is working correctly.
by vcorazza
Wed Jan 16, 2019 10:55 am
Forum: Common Problems
Topic: Advanced Installer 15.2 regression bug: Custom Action "Hide program window"
Replies: 17
Views: 17303
 
Jump to post

Re: Advanced Installer 15.2 regression bug: Custom Action "Hide program window"

Btw, is there a way to duplicate entire folders during install process? I know there it is a duplicate file action in files and folders, but it is not possible to duplicate entire folders. It would be useful.
by vcorazza
Tue Jan 15, 2019 5:18 pm
Forum: Common Problems
Topic: Advanced Installer 15.2 regression bug: Custom Action "Hide program window"
Replies: 17
Views: 17303
 
Jump to post

Re: Advanced Installer 15.2 regression bug: Custom Action "Hide program window"

I'm testing this fix with Advanced Installer 15.5.1 and my installation is waiting indefinitely when starts a Launch File action. I had unchecked the "Hide program's windows" and could see that the prompt executions was finished but the install process do not continue with the installatio...
by vcorazza
Thu Feb 15, 2018 6:01 pm
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Re: Installer return code when prerequisite fails

I'm pretty sure in the tests I was running the main installer with the full UI, but in most cases it will be run silently.
Does this mean that I cannot verify this scenario? Or that my main program will continue before Sql finises installation? This could be an issue...
by vcorazza
Wed Jan 31, 2018 2:23 pm
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Re: Installer return code when prerequisite fails

I think that it is better if I describe you the issue. Our application installer is created with exe and resources next to it. It has Microsoft SQL Server 2014 as a featured resource. The test: install on Windows Server 2008 with SqlServer 2005 SP3. Since SqlServer 2014 upgrade requires SqlServer 20...
by vcorazza
Wed Jan 31, 2018 9:37 am
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Re: Installer return code when prerequisite fails

Thank you for your reply.
But it seems that when the prerequisite fails (it is a feature prerequisite), the main installation stops (the check you mention is already unchecked: this is what I need), but the return code is still 'success'.
Is this a bug, a normal behavior or am I missing something?
by vcorazza
Fri Jan 26, 2018 1:06 pm
Forum: Common Problems
Topic: Installer return code when prerequisite fails
Replies: 12
Views: 7873
 
Jump to post

Installer return code when prerequisite fails

For various reasons we need to launch the installer from command line. The fact is that if a feature prerequisite fails (upgrade to sqlserver 2014 in this case), it seems that the exit code of the main installer is 0. Is there something I have to do in order to have an error return code?
Thanks

Go to advanced search