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

Install with elevated privileges


1 reply to this topic

trutmrol

trutmrol
  • Members
  • 94 posts

Posted 11 July 2002 - 09:22

Hi All!


I have make an Installation with elevated privileges as no -admin ander Windows 2000.

The 'Custom Action' run with 'Deferred execution in system
context'.

I've tried the functon 'MsiSetProperty(hMSI,"INSTALLDIR", svInstallDir)' in the Acton and it doesn't work! (return=6)


Any ideas to set the 'INSTALLDIR' in the MSI?


Thanks,

Roland
Thanks, Roland

Generous

Generous
  • Members
  • 53 posts

Posted 11 July 2002 - 12:53

I look at page:

Platform SDK: Windows Installer
Obtaining Context Information for Deferred Execution Custom Actions

()http://msdn.microsof...rary....fg3.asp

Probably on here there are same restrictions.

And in general, it is difficult to present a case when it is required to change a INSTALLDIR during end of installation and in what it can result.
Evgeny Ushkaloff

Senior Software Developer / Setup Coordinator
Aelita Software Corporation
www.aelita.com