Search found 18 matches

Go to advanced search

by CharlesAnthony
Thu Jul 08, 2010 4:06 pm
Forum: Common Problems
Topic: Stopping Service as part of Uninstall
Replies: 6
Views: 9316
 
Jump to post

Re: Stopping Service as part of Uninstall

Hi,

I am trying to
a) Avoid any UI at all
b) Avoid a reboot

My current approach appears to be working :

a) I'm selecting "Do Not Show In List" on the Product Details tab - this means that the standard Windows Installer entry is hidden in "Add/Remove Programs" (registry entries are still there)
b ...
by CharlesAnthony
Thu Jul 08, 2010 2:00 pm
Forum: Common Problems
Topic: Stopping Service as part of Uninstall
Replies: 6
Views: 9316
 
Jump to post

Re: Stopping Service as part of Uninstall

Hi,

The service needs to be stopped *before* InstallValidate (That's where the files-in-use check happens, yes?)
Elevation is needed to stop the service.
It is not possible to elevate before InstallValidate.

This appears to me to be an incredibly stupid thing (on Windows Installer's behalf, not AI ...
by CharlesAnthony
Tue Jul 06, 2010 2:35 pm
Forum: Common Problems
Topic: Stopping Service as part of Uninstall
Replies: 6
Views: 9316
 
Jump to post

Re: Stopping Service as part of Uninstall

Hi,

Yes, I have; it didn't work because

a) For some reason, it couldn't find the temporary file created to sleep (I got wscript.exe messagebox s saying that it couldn't find the temporary file). I took out the sleep, and just let it loop-until-service-stopped (consuming much CPU, but for a test ...
by CharlesAnthony
Tue Jul 06, 2010 11:19 am
Forum: Common Problems
Topic: Stopping Service as part of Uninstall
Replies: 6
Views: 9316
 
Jump to post

Stopping Service as part of Uninstall

Hi,

Further to my last question here http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=11259 , I also wish to stop a service before running the uninstall, in order to prevent the reboot.

Again, I need this to happen *before* InstallValidate, and I can't rely on the "FilesInUse" and ...
by CharlesAnthony
Tue Jul 06, 2010 10:18 am
Forum: Common Problems
Topic: Custom Actions DetectProcess and StopProcess
Replies: 2
Views: 3422
 
Jump to post

Re: Custom Actions DetectProcess and StopProcess

Working my way through the list, I have found that the answer to this appears to be

My Program.exe

i.e. the full name of the .exe, without the path. It doesn't need to be quoted.
by CharlesAnthony
Tue Jul 06, 2010 9:35 am
Forum: Common Problems
Topic: Custom Actions DetectProcess and StopProcess
Replies: 2
Views: 3422
 
Jump to post

Custom Actions DetectProcess and StopProcess

Hi,

I'm writing an installer that needs to be run in /PASSIVE mode (i.e. no user intervention), for both installation and removal.

For the latter, removal, I understand I need to stop the installed application before InstallValidate, to prevent a reboot because of files in use. I've read
http ...
by CharlesAnthony
Thu Jun 03, 2010 2:54 pm
Forum: Common Problems
Topic: Active Internet Connection Pre-Requsite
Replies: 1
Views: 2538
 
Jump to post

Active Internet Connection Pre-Requsite

Hi,

What checks does the "Active Internet Connection" pre-requisite do?

I have an installer which has this enabled, and this has suddenly stopped working on my machine : I get the "XXX requires and active internet connection for installation. Please check your network configuration and proxy ...
by CharlesAnthony
Wed Feb 24, 2010 10:13 am
Forum: Common Problems
Topic: SendCollectedData : Http Return Code
Replies: 7
Views: 8222
 
Jump to post

Re: SendCollectedData : Http Return Code

Thanks Gabriel.
by CharlesAnthony
Wed Feb 24, 2010 9:00 am
Forum: Common Problems
Topic: SendCollectedData : Http Return Code
Replies: 7
Views: 8222
 
Jump to post

Re: SendCollectedData : Http Return Code

Hi Cosmin,


I'm not sure I understand what you mean.

Sorry, I wasn't terribly clear or explicit - end of the working day!

When I said "http server response code", I should have been more specific - the HTTP Status Code, which is returned as an HTTP Header as part of the reponse stream, as ...
by CharlesAnthony
Tue Feb 23, 2010 5:34 pm
Forum: Common Problems
Topic: SendCollectedData : Http Return Code
Replies: 7
Views: 8222
 
Jump to post

SendCollectedData : Http Return Code

Hi,

I'm now succesfully sending data to a web application via the SendCollectedData custom action. I can see that the http reponse text is stored in the HttpPostServerResponse.

Is it possible, though, to find out the http response code? Or, indeed, if the URL could not be accessed at all? The ...
by CharlesAnthony
Tue Feb 23, 2010 12:37 pm
Forum: Common Problems
Topic: Creating Empty Properties
Replies: 2
Views: 3153
 
Jump to post

Re: Creating Empty Properties

Thanks - it was the Public/Private properties that was the issue.
by CharlesAnthony
Tue Feb 23, 2010 11:23 am
Forum: Common Problems
Topic: Creating Empty Properties
Replies: 2
Views: 3153
 
Jump to post

Creating Empty Properties

Hi,

How can one create a property with an empty value?

I am trying to enable/disable the Next button conditionally, based on whether a property has a value - which is entered by the user e.g. ( RegistrationURL) AND ( RegistrationCode )
However, it doesn't seem possible to create a property with ...
by CharlesAnthony
Mon Oct 12, 2009 4:35 pm
Forum: Common Problems
Topic: Java Product : Current Directory
Replies: 1
Views: 2272
 
Jump to post

Java Product : Current Directory

Hi,

Is it possible to set the current directory of a java product to be a property i.e. APP_DIR?

Our apps usually have a layout of

APP_DIR\bin
launchers - e.g. batch files, shell scripts, or in this case, AI "java product" .exe
APP_DIR\lib
*.jar
APP_DIR\conf
*.properties, configuration files ...
by CharlesAnthony
Mon Oct 12, 2009 4:06 pm
Forum: Common Problems
Topic: AutoUpdate + Service
Replies: 3
Views: 3392
 
Jump to post

Re: AutoUpdate + Service

Hi Charles,

b) AutoClosing the application : I understand that this is configured in the "server side" Auto Update configuration file, and that updater closes the application by sending a windows message to it (i.e. close the window, close the app). How are Windows services supported in ...
by CharlesAnthony
Mon Oct 12, 2009 10:12 am
Forum: Common Problems
Topic: AutoUpdate + Service
Replies: 3
Views: 3392
 
Jump to post

AutoUpdate + Service

Hi,

Note: I haven't tried any of this, I'm just going from the documentation.

I'm interested in using the AutoUpdater
a) Is it possible to confiure the AutoUpdate to *only* check on demand? i.e. I want my application to control the frequency of checking, not Updater.exe itslef; I see I can force ...

Go to advanced search