Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Getting error code 740 in windows7&2008


2 replies to this topic

nvenkata

nvenkata
  • Full Members
  • 2 posts

Posted 24 February 2010 - 06:24

[B]when i tried to install our product in windows7 and windows2008 x64 mqchine i am getting error code 740.
this is happening only for perticuler thing
eg: our product i shaving many modules like agent, Managemnetserver, agent modules, database. etc.
this problem accures only for Agent modules all other are able to install as usual.
only if i click agent module installation we are getting this error code in log files. also error message we are getting when installation starts is " A referrel was returned from the server".
when i tried running installer through commandpromt i am getting error"Access denied" i tried running the installer using admin privilages.

when i tried to open prerequisit checker i am getting error " make sure the path or internet adress is correct" , i checked manually the path but there also i am not getting this perticuler file.

i think this is environment settings problme. because this product is installing in 2003 but problem getting is 2008 x64 and windows7 only.
please help me out to resolve this problem.

Jayasekaran.R

Jayasekaran.R
  • Full Members
  • 6 posts

Posted 24 February 2010 - 09:51

Have you used any LaunchApplication API with the LAAW_OPTION_USE_SHELLEXECUTE flag. This makes it use ShellExecute (which can show UAC prompts) instead of CreateProcess (which won't). Don't forget to fill in the SHELLEXECUTEINFO structure.

Please make sure if you use the above

nvenkata

nvenkata
  • Full Members
  • 2 posts

Posted 24 February 2010 - 12:30

I DONT WHAT EXACTLY YOU ARE TELLING. BUT I DIDNT ENABLE ANY THING.
one more thing today i abserved in code is
void CWizPageRunning::SetRunningIcon(int nInstallOrder, int nState)
{
int foundIcon = -1;
BOOL bRunning = FALSE;
if ( nState == StateRunning )

here nState is taking 4 .
4 is nothing but
enum {
StateNotSelected = 0,
StateSelected =1,
StateRunning = 2,
StateInstalled = 3,
StateError = 4,
StateUnknown = 5
};


actuall result should be 2

how this state is taking 4 i dont know i am working on it .
if you know any thing about this please reply me.