cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gsprasanna81
Level 3

Custom Action in Vista its NOT Trigger

Dear Friends,

Pls Help me for "Custom Action" in installShield 2008 In VISTA. the setup files are not triggering after FINISH setup.
In CA im used "Deferred in system context" also even im using "Run as Administrator" mode in setup by right click.

IF is there any vbscript to trigger the Binary and directory Files

Pls Help me ...:(
Labels (1)
0 Kudos
(4) Replies
gsprasanna81
Level 3

Hi

im encountered the Problem in CUSTOM ACTION in vista.
in xp is working.
below on im facing log error.

ISDEV : warning -6558: The Custom Action Epad in the InstallExecuteSequence table is run from an installed file.
To run the custom action successfully,
you may need to have a condition that checks if the source file is installed locally.

warning -6524: The Custom Action BioMetric in the InstallExecuteSequence table is deferred
and must be sequenced between InstallInitialize and InstallFinalize.
Ensure that the Custom Action is sequenced properly and that the base actions exist in the sequence.


can you tell me which Sequnces i need to use for UI and EXEcute sequences

and which Installation in need to assing
Install, user or Admin sequence

Pls hel me
0 Kudos
hidenori
Level 17

Defered customs actions must be sequenced between InstallInitialize and InstallFinalize action in the InstallExecuteSequence table. If you sequence your actions before InstallInitialize or after InstallFinalize, move them as suggested. Also, defered customs actions cannot be sequenced in the InstallUISequence table.

If you are using VBScript custom actions, please run your scripts outside InstallShield and see if they sucessfully run on Vista.

Hope that helps.
0 Kudos
gsprasanna81
Level 3

Currently im trying to keep run CA by installscript

'----------------------------------------------
function MyFunction(hMSI)
// To Do: Declare local variables.
STRING Sdir;
begin
// this is my actual Path im copyng to destination system "Hard coded path"
Sdir="C://MyProduct//Others//DRIVERS//BioMetric_Drivers//Drivers//FDU01";
if (ExistsDir(Sdir) = EXISTS) then
SprintfBox(INFORMATION, "MyTest", "%s exists.", Sdir);
else
SprintfBox(INFORMATION, "MyTest", "%s does not exist", Sdir);
endif;
LaunchApp(Sdir^ "Setup.exe", "");
end;
'------------------------------------------


In vista 32 bit im trying ...!


I need which Install UI sequence need to run this Plse Help me
and How to Run the script outside of InstallShield
0 Kudos
hidenori
Level 17

I recommend that you use the LaunchApplication function instead of LaunchApp to run your application. Please see the Additional Information section in the LaunchApplication help topic to find out how to run an application with elevated privileges. Also, you need to use an immediate custom action if you sequence it in InstallUISequence.
0 Kudos