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 42 matches

Go to advanced search

by nirs
Mon Sep 15, 2014 4:11 pm
Forum: Common Problems
Topic: Detect Service is not working if its execution time is "defe
Replies: 4
Views: 4203
 
Jump to post

Re: Detect Service is not working if its execution time is "

Hi,
I see on the thread http://www.advancedinstaller.com/forums/viewtopic.php?f=5&t=26010#p64373 that you recommended to go in the Search page and create a registry search.
Correct me if I'm wrong, but aren't the search phase is being executed before the system is deferred?

I should detect the ...
by nirs
Sat Sep 13, 2014 12:01 pm
Forum: Common Problems
Topic: Detect Service is not working if its execution time is "defe
Replies: 4
Views: 4203
 
Jump to post

Re: Detect Service is not working if its execution time is "

If it only can be run 'Immediate' so I have the following questions:
1) Why can it be enabled?
2) How can I detect the service status if I install a service during my installation after the system is deferred?

Nir
by nirs
Sat Sep 13, 2014 11:58 am
Forum: Common Problems
Topic: Detect Service is not working if its execution time is "defe
Replies: 4
Views: 4203
 
Jump to post

Detect Service is not working if its execution time is "defe

Hi,

After the problem reported on thread: http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=28930


I debugged it and I noticed that when the execution timeof detect service is after the system is deferred the AI_SERVICE_STATE property is an empty string.
I attached a small aip file ...
by nirs
Sat Sep 13, 2014 11:33 am
Forum: Common Problems
Topic: Failing installation after the system was deferred
Replies: 3
Views: 3595
 
Jump to post

Re: Failing installation after the system was deferred

In addition, that exit always cause the installation to 'rollback' while the property DISABLEROLLBACK is set to 1
by nirs
Fri Sep 12, 2014 8:19 pm
Forum: Common Problems
Topic: Problem with Execute Stage Condition
Replies: 2
Views: 3086
 
Jump to post

Re: Problem with Execute Stage Condition

The target machine is windows server 2003
by nirs
Fri Sep 12, 2014 4:26 pm
Forum: Common Problems
Topic: Failing installation after the system was deferred
Replies: 3
Views: 3595
 
Jump to post

Re: Failing installation after the system was deferred

Thanks.

Is there a way to display error message when exit?

Right now when the installation fail it is pop-upping that there is a problem.
Can I edit that text?
by nirs
Fri Sep 12, 2014 4:22 pm
Forum: Common Problems
Topic: Fail Installation
Replies: 5
Views: 5611
 
Jump to post

Re: Fail Installation

Thanks Daniel.
Using the batch it worked.
I suggest to specify that issue for future customers.

Nir
by nirs
Fri Sep 12, 2014 4:20 pm
Forum: Common Problems
Topic: Problem with Execute Stage Condition
Replies: 2
Views: 3086
 
Jump to post

Problem with Execute Stage Condition

Hi,

I am installing a service as part of my installation.
For debugging mode I created Message Box before and after the service is installed.

I use the custom action 'Detect Service'.
When I print the AI_SERVICE_STATE value at the message box it is empty.
So I use the execute condition to debug ...
by nirs
Thu Sep 11, 2014 5:52 pm
Forum: Common Problems
Topic: Disable ROLLBACK
Replies: 1
Views: 2600
 
Jump to post

Disable ROLLBACK

Hi,

During my installation I install a service.
I want to fail the installation if the service install was not succeeded, but I want to keep the files that were deployed by the installer.

The service installation execution time is 'deferred'.
I added property: DISABLEROLLBACK with value 1, but ...
by nirs
Thu Sep 11, 2014 5:06 pm
Forum: Common Problems
Topic: Failing installation after the system was deferred
Replies: 3
Views: 3595
 
Jump to post

Failing installation after the system was deferred

Hi,

During my installation, after the system is deferred I install a service.
Due to a bug, the service installation not always fail, so I must check if the service is exist at the end of my installation.
If the service is "Not Found" I want to fail the installation.
The problem is that I need ...
by nirs
Wed Sep 10, 2014 9:38 am
Forum: Common Problems
Topic: Remove 'modify' option
Replies: 1
Views: 2156
 
Jump to post

Remove 'modify' option

Hi,

If the user will run my installer after it is being already installed I want that he will only have the 'Repair' and 'Uninstall' option.
I want to delete the 'Modify' option but I can't delete it on the dialogs.
Any suggestion?

Thanks,
Nir
by nirs
Tue Sep 09, 2014 11:12 am
Forum: Common Problems
Topic: Run as administrator
Replies: 1
Views: 1885
 
Jump to post

Run as administrator

Hi,

In my installation there are some custom actions that should be executed as 'administrator'.
During the installation I need to confirm for every such action that I allow that action.

Is there are way that the user will only click once for it?

I can't release my installer if the user needs to ...
by nirs
Mon Sep 08, 2014 10:03 am
Forum: Common Problems
Topic: Fail Installation
Replies: 5
Views: 5611
 
Jump to post

Re: Fail Installation

Hi.

I just created an empty project that only has the 'Error message' custom action.(See attached aip)
Upon executing via the UI I get the error.
Upon executing via quiet installation (See attached screenshot) the errorlevel remains 0 although the log indicate for a failure (see atacched log ...
by nirs
Sun Sep 07, 2014 4:55 pm
Forum: Common Problems
Topic: Problem with echo to specific directory
Replies: 1
Views: 2360
 
Jump to post

Problem with echo to specific directory

Hi,

I want to echo to a file under 'AppDataFolder'.

The file name is apache-installer-status.cmd
During the installation I create that file using the custom action 'LaunchExeWithDirectory'
The 'Working' is set to 'AppDataFolder'.
I tried the follwing on 'Command' field:
1) /C "echo @echo off ...
by nirs
Sun Sep 07, 2014 2:24 pm
Forum: Common Problems
Topic: Fail Installation
Replies: 5
Views: 5611
 
Jump to post

Fail Installation

Hi,
I want to fail my installation if a service is not running.
How can I do it?

I need that the failure will return an errorcode bigger than 0.

Thanks

Go to advanced search