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
- :
- fixed
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 31, 2009
05:44 PM
Installation not complete in Win server 2003
I am using Installshield 2009, Basic MSI. My installer is supposed to install all files as well as call ant deploy script for the deployment as well (replacing some configuration variable depending on what user enters in UI).
This happens fine in Win XP, and i get full log.
But not in Win server 2003. It install the files, but does not deploy. I also do not get much log. So my installscript function 'antdeploy' is not getting called.
So what i tried was to set up the Install condition (general information>product properties) to be as follows:
Condition= Not (Version9X=400 Or Version9X=410 Or Version9X=490 Or VersionNT=400)
Message = [ProductName] require Windows 2000 or greater
But that made no change, which i kind of suspected because the problem lies in the deployment, installation of files works fine even before i used the conditions above.
What am i missing here? Why does everything work fine in XP but not in Win 2003?
This happens fine in Win XP, and i get full log.
But not in Win server 2003. It install the files, but does not deploy. I also do not get much log. So my installscript function 'antdeploy' is not getting called.
So what i tried was to set up the Install condition (general information>product properties) to be as follows:
Condition= Not (Version9X=400 Or Version9X=410 Or Version9X=490 Or VersionNT=400)
Message = [ProductName] require Windows 2000 or greater
But that made no change, which i kind of suspected because the problem lies in the deployment, installation of files works fine even before i used the conditions above.
What am i missing here? Why does everything work fine in XP but not in Win 2003?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2009
06:27 PM
I had the same problem. I was running a script at the end of installation from the PRODUCTDIR. All the files in this directory get copied to a temporary directory then deleted at the end of installation.
I fired off a process using LaunchApp (even tried kernel32.ShellExecuteEx) then (I think) when the installation finished, it deleted up the temporary directory before the new process executed.
Now, this was my assumption, I can't prove that it happened that way.
But when I copied my script to the TARGETDIR and ran it from there, it ran fine.
CopyFile(PRODUCTDIR ^ "scriptname.bat", TARGETDIR ^ "scriptname.bat");
LaunchApp(TARGETDIR ^ "scriptname.bat", "args");
I fired off a process using LaunchApp (even tried kernel32.ShellExecuteEx) then (I think) when the installation finished, it deleted up the temporary directory before the new process executed.
Now, this was my assumption, I can't prove that it happened that way.
But when I copied my script to the TARGETDIR and ran it from there, it ran fine.
CopyFile(PRODUCTDIR ^ "scriptname.bat", TARGETDIR ^ "scriptname.bat");
LaunchApp(TARGETDIR ^ "scriptname.bat", "args");
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2009
06:36 PM
I fixed the issue.
1. Ran some windows update, restarted the machine.
2. the installer was looking for a path in the machine where the installation was happening for a file used to fill in the actual values during deployment, and this was missing.
3. When RDP-ing to a server for installation ensure that you are console or admin, else the installtion may not be complete.
so use mstsc.exe /console or
mstsc.exe /admin depending on what version of RDP you have, to login to the server. This ensures you are user 0 (admin).
1. Ran some windows update, restarted the machine.
2. the installer was looking for a path in the machine where the installation was happening for a file used to fill in the actual values during deployment, and this was missing.
3. When RDP-ing to a server for installation ensure that you are console or admin, else the installtion may not be complete.
so use mstsc.exe /console or
mstsc.exe /admin depending on what version of RDP you have, to login to the server. This ensures you are user 0 (admin).
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)