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
- :
- Re: Two problem on Vista installation
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
‎Mar 17, 2008
04:42 AM
Two problem on Vista installation
Hello
I have two problem with my Basic MSI Project on vista. With Xp it's all good
I have already set Vista and XP in the Installation Requirements
Problem 1.
I have custon action launch other setup.exe during my install. On xp it's ok.
But on vista i have already a error message. Error 1721 : There is a problem with this Windows Installer package, A program required for this install to complete could not be run
Problem 2.
My setup search a configfile with text in the SETUPEXEDIR
But when i uninstall my install with one clic on my setup. The welcome maintenance launch correctly. But the uninstall not launch in My SETUPEXEDIR because he not localize my configfile
The two problem come into vista.
On XP i have not this problem
Can you help me please
Spinky
Sorry for my english 😄
I have two problem with my Basic MSI Project on vista. With Xp it's all good
I have already set Vista and XP in the Installation Requirements
Problem 1.
I have custon action launch other setup.exe during my install. On xp it's ok.
But on vista i have already a error message. Error 1721 : There is a problem with this Windows Installer package, A program required for this install to complete could not be run
Problem 2.
My setup search a configfile with text in the SETUPEXEDIR
But when i uninstall my install with one clic on my setup. The welcome maintenance launch correctly. But the uninstall not launch in My SETUPEXEDIR because he not localize my configfile
The two problem come into vista.
On XP i have not this problem
Can you help me please
Spinky
Sorry for my english 😄
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2008
10:13 AM
Up
Up
Up
Up
Up
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2008
11:33 AM
A 1721 error indicates that the Windows Installer was unable to successfully launch an executable custom action. Since you're launching another setup, it likely requires admin privileges and CreateProcess is returning status ERROR_ELEVATION_REQUIRED to Windows Installer. You could run the parent setup as admin, or use a different type of custom action to launch the executable (for example, use an InstallScript custom action and use the LaunchApplication function to launch the EXE).
I'm not sure I understand what your issue is with SETUPEXEDIR. This property is only available if you launch your installation from a setup.exe. When uninstalling or running maintenance from Add/Remove Programs, the MSI package is launched directly.
I'm not sure I understand what your issue is with SETUPEXEDIR. This property is only available if you launch your installation from a setup.exe. When uninstalling or running maintenance from Add/Remove Programs, the MSI package is launched directly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2008
05:03 AM
ANy installation and uninstallation on vista should be by running cmd in administrator mode.this can be done by ran as to cmd.exe.then install any application from this admin command prompt.when done whole installation along with any custom action runs in one shell(admin shell).but when ran through normal cmd,custom action thread does not run with admin rights and fails.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2008
09:01 AM
Hi,
Is the set up you are trying to launch through custom action, also a .msi ?
If yes, you could get error message from WI because launching more than one .msi installers in the same time is bad :-). In this cas you could deal with this, launching your embedded set up as a prerequisite .
Bernard.
Is the set up you are trying to launch through custom action, also a .msi ?
If yes, you could get error message from WI because launching more than one .msi installers in the same time is bad :-). In this cas you could deal with this, launching your embedded set up as a prerequisite .
Bernard.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
05:08 AM
no i will launch a .exe file with my custom action.
My main setup launch a custom action include a other setup.exe file.
On xp It s ok but on Vista i have the error.
I go to see in the admin priviledge
I am keeping abreast, but if someone has another idea you are welcome
My main setup launch a custom action include a other setup.exe file.
On xp It s ok but on Vista i have the error.
I go to see in the admin priviledge
I am keeping abreast, but if someone has another idea you are welcome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
08:06 AM
OK I find nothing
I rephrase my question differently
How can i launch a secondary setup on my main setup on vista.
For Xp just create custom action --> New Exe with the filename and working directory
But for vista is not ok
I think the UAC is the problem. Can you explain how bypass this
Spinky
I rephrase my question differently
How can i launch a secondary setup on my main setup on vista.
For Xp just create custom action --> New Exe with the filename and working directory
But for vista is not ok
I think the UAC is the problem. Can you explain how bypass this
Spinky
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
04:12 PM
In terms of getting through UAC if you go to the media view > releases, then to whichever one you use to put out your installer. Under the Setup.exe tab if you set the "Required Execution Level" to "Highest Available" then rebuild this may solve your problem.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2008
02:49 AM
It's ok
Thanks a lot Epoon
Closed
Thanks a lot Epoon
Closed