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

Regarding Administrative Privileges Urgent


4 replies to this topic

roas

roas
  • Members
  • 10 posts

Posted 21 February 2006 - 11:35

I am using InstallShield developer 7
How I can come to know if any user is installing\uninstalling
the software is in non-admin mode.
I used the following function

if (Is (USER_ADMINISTRATOR, szIsData) = FALSE) then

for checking non admin mode
in onbegin function but it is not working for me.

I just want to give a message box if anybody installs/unistalls
our software in non admin mode.

Can anybody suggest me how I can overcome this problem.
I'll be very thankful as I am facing this problem since long.

Thanks







Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 February 2006 - 17:54

You are in the wrong setion of the forum. Which project type are you actually using? "Basic MSI" or "InstallScript MSI" (aka "Standard")

roas

roas
  • Members
  • 10 posts

Posted 22 February 2006 - 10:08

I am using 'Standard project' in InstallShield Developer 7.01

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 February 2006 - 10:31

"Standard" is the older name for "InstallScript MSI" therefore I'm moving this question to the appropriate forum.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 February 2006 - 10:34

"Standard" projects require pre-instalaltion of the InstallShield scripting engine which requires admin privileges if I recall correctly. This happens before your script even starts to run. You may be able to edit the error message, I think it's stored in a language INI file.