Advanced Installer Community - Search

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

Go to advanced search

by ymtjia
Mon Nov 12, 2007 10:34 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi Gigi,

Finally, I have gotten it working using your method.

Thanks a lot :D

Rgds,
by ymtjia
Mon Nov 12, 2007 2:44 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi Cosmin,

another point I would like to add.

The value of SVCNAME is not empty when it is written to registry. However, during uninstallation, it does not get initialized with registry value, though I have put a custom action under "AppSearch". Could this be a bug in Advanced Installer?

Rgds,
by ymtjia
Mon Nov 12, 2007 2:37 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi Cosmin,

I am getting very confused here.

In your last reply, you mentioned about creating the property SVCNAME and initialize it in the "Install Parameters" page and the "Value" is my service name.

However, the SVCNAME value is obtained from a custom dialog box, so, how can I initialize it in ...
by ymtjia
Fri Nov 09, 2007 2:33 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi,

I have tried to schedule it under "AppSearch" and using "Property set with formatted", however, I still get the same error. Is there something else that I still missed out? Here is the aip file.

Thanks
Rgds,


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT type="Advanced ...
by ymtjia
Tue Nov 06, 2007 11:41 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi Cosmin,

I have tried to use the method you have mentioned (regarding doing a registry search), however, I am still getting the same error. In my custom action, I have set the property SVCNAME, and to verify that it's correct, I have retrieved it again and do a message box.

I have attached both ...
by ymtjia
Tue Nov 06, 2007 9:59 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Hi,

Thank you for the prompt response; I will try this out.

I have another question about custom action.

Where should I place my custom action (.vbs) script such that it will be executed just before the windows service is started? I need to do this because the window service will read some output ...
by ymtjia
Tue Nov 06, 2007 7:03 am
Forum: Common Problems
Topic: Service Control Operation using Property fails
Replies: 11
Views: 16204
 
Jump to post

Service Control Operation using Property fails

Hi,

I am encountering an error using the Enterprise project. The problem I am facing is that, I cannot uninstall a service. Below is the steps to reproduce my problem:

1. Create an enterprise project
2. Add a new dialog after FolderDlg. Add an edit box, and assign it a property name (I called mine ...
by ymtjia
Thu Nov 01, 2007 2:22 am
Forum: Common Problems
Topic: How to access session property from custom action c++ dll
Replies: 1
Views: 4463
 
Jump to post

How to access session property from custom action c++ dll

Hi,

I have written a c++ dll, and would like to access a session property (the target directory). How do I do that?

thank you.

Go to advanced search