Hi,
I am facing issue with SILENTLY installing vendor MSI for which i created transform.Package works fine when excute without any switch.
I read article http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q107618&sliceId= also tried to implement but couldnt succeed.
I am using Wise Pacakge Studio and the service which is getting installed with the applications is "CaptureService".

If you can help me out,please revert.

Greetings for the Season.
R Ray
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: raviray

Hi,
I am facing issue with SILENTLY installing vendor MSI for which i created transform.Package works fine when excute without any switch.
I read article http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q107618&sliceId= also tried to implement but couldnt succeed.
I am using Wise Pacakge Studio and the service which is getting installed with the applications is "CaptureService".

If you can help me out,please revert.

Greetings for the Season.
R Ray

try doing a verbose log both ways and compare the InstallServices and StartServices entries for both.
not sure why it wouldn't work for silent unless there was something dependent on UI level to create the service, is without switch a full UI, do you enter any parameters or config during install? This should give you a clue though:
Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services. Any difference in the user context of a silent or regular installation? Also, the link you posted didn't work for me, not sure if it's my browser or the link is bad.
Answered 01/07/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
not sure why it wouldn't work for silent unless there was something dependent on UI level to create the service Owen, you *know* that the world is chock-full of idiot vendors who don't know how to build MSIs properly, and who fill their packages either with actions which only run in UI or set properties in the UI which an Execute action relies on. I'd wager that one of those scenarios is the cause.
Answered 01/07/2009 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

not sure why it wouldn't work for silent unless there was something dependent on UI level to create the service Owen, you *know* that the world is chock-full of idiot vendors who don't know how to build MSIs properly, and who fill their packages either with actions which only run in UI or set properties in the UI which an Execute action relies on. I'd wager that one of those scenarios is the cause.

You're probably right, which is why I mentioned the UI level. If it contains a dependency on having a value inserted to complete a custom action (rather than allowing it to be filled in later by the user or administrator) then that would cause it to act differently under different UI levels. In such cases verbose logging is a lifesaver. Even if you can't make an action work, you will at least know which ones to avoid in a silent install :-)
Answered 01/07/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
verbose logging

Thanks for your reply,however i havn't tried this "verbose logging" before so can you please tell me how to do this?
To answer that configuration thing which you asked while manual install, I have done certain customization in the mst but all that has been done in MST only ,while install no manual input required other then doing next ...next.

The article which I mentioned in last mail ,I am copying it here:-





When running an installation, error 1920 occurs:
Symptoms :
Service '[SERVICE]' failed to start. Verify that you have sufficient privileges to start system services.
[SERVICE] resolves to the name of the service.

Cause:
A.The service name specified in the InstallShield interface is not the correct service name. This may happen if the Windows Control Panel Services name was used instead of the 'internal' name of the service. The service has a registered, or internal, name and also has a displayed name. These names do not necessarily match. The 'internal' name must be specified in the interface in order for the service to be controlled.

  • A dependent service is not installed or is disabled on the target machine. Some services require other services to be running on the target machine before it will successfully run itself. If these service are not available, the service attempting to be controlled may fail.
  • The user does not have rights to run the service. Some services are only available to run under a specific Log On account. The user must be logged on under this account to successfully run the service.

    Resolution A
    1. Open the Components view and expand the Component node in your project that is controlling the service in question.
    2. Expand the component's Advanced Setting folder and click the Control NT Services section.
    3. Take note of the service name on the right. You will see the name of the service the component is trying to control. Make sure that you do not confuse the event with the service name (the event is found under the service name).
    4. To find the 'internal' name you must go to a machine that already has the service installed. On that machine, go to the registry by typing regedit at the Start | Run command box.
    5. Once in the registry, navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services. The service's 'internal' name has its own key under the Services key. Because the internal name can be different from the display name, you may not recognize the name displayed. If this is the case, you can click each key under the Services key and check the DisplayName value for the key. The DisplayName value is the name as it appears in the Windows Control Panel. Once you find the correct DisplayName, take note of the key it is found within.
    6. If the 'internal' name matches the name specified determined under step 3, this is not the cause of the issue. Otherwise, change the name from step 3 to match the internal name.
    7. Rebuild the release.


    Resolution B
    1. If you are not sure which services the service you are trying to control depends upon, check on a machine that the service is already installed. On Windows 2000/XP machines, dependencies can be checked by right-clicking the service and choosing Properties. Under the Dependencies tab, there is a list of the dependent services.
    2. Verify that all dependent services are installed and running.

    Resolution C
    1. If you are not sure which account the service logs on as, check on a machine that the service is already installed. On Windows 2000/XP machines, the Log On field can be checked by right-clicking the service and choosing Properties. Under the Log On tab, you can see which account the service logs on as.
    2. Verify that the user is logged on under the correct account when launching the installation.



    Please Suggest,
    R Ray
  • Answered 01/08/2009 by: raviray
    Orange Belt

    Please log in to comment
    0
    verbose logging: on the command line /l*v "path to log file"
    do some studying up on Windows Installer - pretty basic stuff.

    ORIGINAL: raviray

    Thanks for your reply,however i havn't tried this "verbose logging" before so can you please tell me how to do this?

  • Answered 01/08/2009 by: aogilmor
    Ninth Degree Black Belt

    Please log in to comment
    0
    StartServices

    Hi ,

    I did verbose logging & then compared log files for silent & nonsilent install.
    I am pasting it here to make it mor eunderstandable:
    nonsilent install:
    MSI (s) (A8:BC) [15:52:55:757]: Doing action: StartServices
    Action 15:52:55: StartServices. Starting services
    Action start 15:52:55: StartServices.
    StartServices: Service: Starting services
    Action ended 15:52:55: StartServices. Return value 1.
    MSI (s) (A8:BC) [15:52:55:767]: Doing action: Launch_Aimtray5x
    Action 15:52:55: Launch_Aimtray5x.
    Action start 15:52:55: Launch_Aimtray5x.
    MSI (s) (A8:BC) [15:52:55:767]: Transforming table CustomAction.
    Silent Install:
    MSI (s) (A8:4C) [15:44:27:055]: Doing action: StartServices
    Action ended 15:44:27: InstallServices. Return value 1.
    Action start 15:44:27: StartServices.
    MSI (s) (A8:4C) [15:44:27:055]: Skipping action: Launch_Aimtray5x (condition is false)
    MSI (s) (A8:4C) [15:44:27:055]: Skipping action: Launch_AimTray6x (condition is false)

    And i found out that msi is not going in the action "Launch_Aimtray5x ".
    I changed the property to make this action condition "true"
    Now when i install it gives error 2753
    log details:
    Action start 18:05:53: StartServices.
    MSI (s) (3C:60) [18:05:53:160]: Doing action: Launch_Aimtray5x
    Action ended 18:05:53: StartServices. Return value 1.
    MSI (s) (3C:60) [18:05:53:160]: Transforming table CustomAction.
    MSI (s) (3C:60) [18:05:53:160]: Note: 1: 2753 2: AimTray.exe1
    Action start 18:05:53: Launch_Aimtray5x.
    DEBUG: Error 2753: The File 'AimTray.exe1' is not marked for installation.
    I don't know what to do now.I tried to check tables->custom action->Launch_Aimtray5x
    given below are teh details for thsi custom action ,here target is blank for the same
    "Launch_Aimtray5x" ,"1234", "AimTray.exe1", ""
    What shallI put as Target or will it really make any difference.

    Please suggest
    Thanks & Regards,
    RRay
    Answered 01/19/2009 by: raviray
    Orange Belt

    Please log in to comment
    0
    DEBUG: Error 2753: The File 'AimTray.exe1' is not marked for installation.I'd guess that the feature containing this component isn't set to be installed. I'd also guess that that occurs because either the feature or component is conditioned upon a property value which is set in the UI sequence but not in the Execute sequence.

    What app is this and is it available for download? I suspect it'd be quicker for one of us to d/l it and take a look.
    Answered 01/19/2009 by: VBScab
    Red Belt

    Please log in to comment
    0
    in addition to what Ian (vbscab) suggested, it looks like a vendor CA that does something with the AIM systray?...

    anyway, be careful when you mess with vendor CA's, they can be black boxes, you need to check and see exactly what it does, first check and see that it installs normally from the original source, then proceed from there to find out why it's not installing from your silent install. but it looks to me like there's a service that's dependent on that CA running.

    I woke up at 10:00 this morning, had coffee, helped out several people on this board. And now, I wish you all a happy MLK day even if you're not in the States! I am going out in the warm California sun, look at some ladies, walk my dog and be lazy.

    take care
    Owen
    Answered 01/19/2009 by: aogilmor
    Ninth Degree Black Belt

    Please log in to comment
    Answer this question or Comment on this question for clarity