This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to suppress windows popup?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
03:57 AM
How to suppress windows popup?
I have a BASIC MSI Installation.
After Installation i have to start an exe file.
Everytime i start the exe file I first got a Windows popup dialog wich is asking for windows rights.
I don't want this popup.
LaunchApplication( szProgram,
strCmdParam,
szCurrent,
SW_SHOW,
INFINITE,
LAAW_OPTION_WAIT | LAAW_OPTION_CHANGEDIRECTORY | LAAW_OPTION_USE_SHELLEXECUTE)
How do i suppress the Windows popup ?
The exe-file does not need admin rights.
I am not installing on windows vista.
Any ideas ?
Andreas
After Installation i have to start an exe file.
Everytime i start the exe file I first got a Windows popup dialog wich is asking for windows rights.
I don't want this popup.
LaunchApplication( szProgram,
strCmdParam,
szCurrent,
SW_SHOW,
INFINITE,
LAAW_OPTION_WAIT | LAAW_OPTION_CHANGEDIRECTORY | LAAW_OPTION_USE_SHELLEXECUTE)
How do i suppress the Windows popup ?
The exe-file does not need admin rights.
I am not installing on windows vista.
Any ideas ?
Andreas
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
06:48 AM
may be this happens due to the app you are launching with the setup. The application is searching for the admin rights....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
07:02 AM
hm... i don't know.
I tried the following:
I changed the options to:
LAAW_OPTION_WAIT | LAAW_OPTION_CHANGEDIRECTORY
and didn't install into the 'Program files' folder, and the windows popup didn't appear.
But i need to install into 'Program files' folder
When i install into 'Program files' folder, i got an error starting my exe file, (without the option LAAW_OPTION_USE_SHELLEXECUTE).
:confused:
any idea?
I tried the following:
I changed the options to:
LAAW_OPTION_WAIT | LAAW_OPTION_CHANGEDIRECTORY
and didn't install into the 'Program files' folder, and the windows popup didn't appear.
But i need to install into 'Program files' folder
When i install into 'Program files' folder, i got an error starting my exe file, (without the option LAAW_OPTION_USE_SHELLEXECUTE).
:confused:
any idea?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
07:11 AM
Which OS you are using? I think your setup.exe is running as Invoker. Change its elevation level to Administrator.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
07:21 AM
Hi, i need to install on XP and 2000
The user who will use this exe at last, has no administartor rights, so windows would ask for the admin rights, if i set it to administrator, i think.
at the moment i use the following manifest
The user who will use this exe at last, has no administartor rights, so windows would ask for the admin rights, if i set it to administrator, i think.
at the moment i use the following manifest
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
07:29 AM
Try to run the exe from command prompt(from Program Files) and then check its behaviour. If its same then it happens due to some security setting in your PC. otherwise its your setup issue.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
07:51 AM
The popup does not appear.
What do you mean with setup issue ?
Do you think it is a problem with the installer configuration ?
Do you have a hint ?
Andreas
What do you mean with setup issue ?
Do you think it is a problem with the installer configuration ?
Do you have a hint ?
Andreas
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2009
11:57 PM
Somehow your setup is elevating the exe's execution level. Check your installer configuration.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2009
02:05 AM
first: thanks for trying to help me 🙂
but i have no conclusion where to look.
I didn't set any permissions on the file.
the Script ist started with:
In-Script Execution: Immediate Execution
Execution Scheduling: Always execute
Install Exec Sequence: After ISSelfRegisterFinalize
Install Exec Condition: not REMOVE="ALL"
Without the option LAAW_OPTION_USE_SHELLEXECUTE and not installing into 'program files' i can run the exe file without windows popup dialog. :confused:
I would like to look for what you said,
but i don't know where i have to look for these configuration and I have no idea what i am looking for. :confused:
Andreas
but i have no conclusion where to look.
I didn't set any permissions on the file.
the Script ist started with:
In-Script Execution: Immediate Execution
Execution Scheduling: Always execute
Install Exec Sequence: After ISSelfRegisterFinalize
Install Exec Condition: not REMOVE="ALL"
Without the option LAAW_OPTION_USE_SHELLEXECUTE and not installing into 'program files' i can run the exe file without windows popup dialog. :confused:
I would like to look for what you said,
but i don't know where i have to look for these configuration and I have no idea what i am looking for. :confused:
Andreas
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2009
11:51 AM
This should only happen if the ShellExecute verb was changed from its default value of "open" to something like "runas". The LAAW_SHELLEXECUTEVERB should not be changed in the setup script if the setup is not running on Windows Vista or newer (technically, the verb can be changed on XP or earlier, but this will result in a Run As prompt asking for a username and password to launch the executable under that account).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 03, 2009
05:00 AM
Many thanks!!!
yes, now it works.
Andreas
yes, now it works.
Andreas