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
- :
- setup.exe not installing when build on 2012 standard r2
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Nov 13, 2017
08:58 AM
setup.exe not installing when build on 2012 standard r2
Hi All,
I am using installshield 2016 premier edition,
We were building in the windows 7 OS and installing the software on windows 7 os's.
Now our build server moved to windows 2012 standard r2.
with the same ism file we are building the software and trying to install on windows 7.
But it gives very weird error at the time of starting service custom action
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: StartService, location: C:\WINDOWS\Installer\MSIDB35.tmp, command: cmd /c sc start "Service Manager"
But in the same machine it installs i.e windows 2012 standard r2.
Can anybody help me in this regard.
On windows 2012 r2 the windows installer version is Windows ® Installer. V 5.0.9600.18333
and on windows 7 os the windows installer version is Windows ® Installer. V 5.0.7601.23593
Any help will be highly appreciated.
Thanks,
Ravi.
I am using installshield 2016 premier edition,
We were building in the windows 7 OS and installing the software on windows 7 os's.
Now our build server moved to windows 2012 standard r2.
with the same ism file we are building the software and trying to install on windows 7.
But it gives very weird error at the time of starting service custom action
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: StartService, location: C:\WINDOWS\Installer\MSIDB35.tmp, command: cmd /c sc start "Service Manager"
But in the same machine it installs i.e windows 2012 standard r2.
Can anybody help me in this regard.
On windows 2012 r2 the windows installer version is Windows ® Installer. V 5.0.9600.18333
and on windows 7 os the windows installer version is Windows ® Installer. V 5.0.7601.23593
Any help will be highly appreciated.
Thanks,
Ravi.
(5) Replies
‎Nov 14, 2017
07:51 PM
I'd eliminate the custom action calling "sc" and replace it with an entry in the ServiceControl table.-
‎Nov 15, 2017
03:01 AM
Christopher Painter wrote:
I'd eliminate the custom action calling "sc" and replace it with an entry in the ServiceControl table.-
Hi Christopher,
Thanks for the reply.
I have added the service and the event in the services view and its added in the service control table.
When i add the event to start its failing because we have spaces in the service name
So I added the custom action to start with sc.
Can you please suggest me to add in the service control table how to start the service with spaces or if we can add the command sc start
Thanks & Rgds,
Ravi.
‎Nov 15, 2017
05:38 AM
I suspect you are trying to use the display name of the service rather then the service internal name. Take a look at the service using Services.msc:
http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2016/06/Start-stop-disable-Windows-Services.png
In the above example you would want "tzautoupdate" not "Auto Time Zone Updater"
http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2016/06/Start-stop-disable-Windows-Services.png
In the above example you would want "tzautoupdate" not "Auto Time Zone Updater"
‎Nov 15, 2017
06:12 AM
Christopher Painter wrote:
I suspect you are trying to use the display name of the service rather then the service internal name. Take a look at the service using Services.msc:
http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2016/06/Start-stop-disable-Windows-Services.png
In the above example you would want "tzautoupdate" not "Auto Time Zone Updater"
Hi Christopher,
In our service the name and the display name is same.
Our architect needs spaces in the service name also.
I coudnt convince him to remove them 😞
‎Nov 15, 2017
08:39 AM
I looked at HKLM\SYSTEM\CurrentControlSet\Services and the vast majority but not all have no spaces. I also did a quick test and I was able to install and start a service with a space in it's name using the ServiceInstall and ServiceControl tables.
I'm not sure what your issue is, but, MSI and InstallShield should be able to support it.
I'm not sure what your issue is, but, MSI and InstallShield should be able to support it.