We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 9 matches

Go to advanced search

by asia.shafran
Wed Jul 05, 2017 9:34 am
Forum: Building Installers
Topic: .exe return code
Replies: 1
Views: 2429
 
Jump to post

.exe return code

Hi
If I am running an exe file from my Installer using custom actions(exe that actually is a python script)
Lets say I have an error during running the exe, if something fails I want to tell the user what was the error and not just go to fatal error dialog.
Is there a way to get the error and exit ...
by asia.shafran
Mon Jul 03, 2017 1:52 pm
Forum: Building Installers
Topic: Show Error message from Custom Action
Replies: 3
Views: 5367
 
Jump to post

Re: Show Error message from Custom Action

Hello,

A solution would be to generate an error message box from the script itself.
You could use the following code:


[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms')
[System.Windows.Forms.MessageBox]::Show('Error log')


Best regards,
Sorin

As I said, this is what ...
by asia.shafran
Mon Jul 03, 2017 12:46 pm
Forum: Building Installers
Topic: Show Error message from Custom Action
Replies: 3
Views: 5367
 
Jump to post

Show Error message from Custom Action

Hi

In my installer I am running some custom actions(powershell script files) .
I want that if some custom action fail, it would present an error message to the user with error details
For example if the script is trying to delete some folder that can't be deleted.. The user will see some error ...
by asia.shafran
Tue Jan 31, 2017 3:10 pm
Forum: Building Installers
Topic: How to reinstall if upgrade failed
Replies: 3
Views: 3221
 
Jump to post

Re: How to reinstall if upgrade failed

Can you explain me the behavior of "install new version and than uninstall old version" - what will it do about files that are overridden because of the installation of the new version??
by asia.shafran
Mon Jan 30, 2017 4:30 pm
Forum: Building Installers
Topic: How to reinstall if upgrade failed
Replies: 3
Views: 3221
 
Jump to post

How to reinstall if upgrade failed

I have some installation exe file
I am installing my program, and later I can update to a new version
I want that if upgrade failed for some reason - it will reinstall the previous version


So I tried few options:
1. To set "Install new version first and than uninstall old version" - it doesn't ...
by asia.shafran
Thu Jan 26, 2017 4:37 pm
Forum: Building Installers
Topic: Upgrade rollback
Replies: 1
Views: 2021
 
Jump to post

Upgrade rollback

Hello.
I am trying to write a custom action that should run only when upgrade went unsuccessfully. I mean, when I'm doing upgrade and press cancel button during the upgrade - it should run the rollback script and terminate.
I wrote this new action, put it in the end of the "Install execution stage ...
by asia.shafran
Wed Jan 25, 2017 3:25 pm
Forum: Building Installers
Topic: cant remove parameter default value
Replies: 3
Views: 12969
 
Jump to post

Re: cant remove parameter default value

as I wrote, it is in Installed Parameters but the problem is when i remove the default value the "ok" button become gray so i cant save changes.

you can see it here
by asia.shafran
Tue Jan 24, 2017 12:56 pm
Forum: Building Installers
Topic: cant remove parameter default value
Replies: 3
Views: 12969
 
Jump to post

cant remove parameter default value

Hi.
I have some parameter with a default value, and I use it in one of my dialog windows.
For some reason, the "show default value" has the default value and I can't remove it (it's gray, as you can see in the screenshot attached)
anyone know why it happened? I have other parameters with default ...
by asia.shafran
Wed Jan 18, 2017 1:03 pm
Forum: Building Installers
Topic: Running exe in command line with bootstrap options
Replies: 1
Views: 3375
 
Jump to post

Running exe in command line with bootstrap options

Hello.
I have an installation exe file I created with Advanced Installer.
I want to run it in quiet mode using command line parameters
I mean something like this
install.exe /quiet PARAM1=a PARAM2=b

The thing that doesn't work for me is the command i wrote in "MSI command line"(Builds ...

Go to advanced search