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: pkgmgr being invoked from 32-bit instead of 64-bit
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
‎Apr 21, 2010
11:59 AM
pkgmgr being invoked from 32-bit instead of 64-bit
setup.exe file was created using the Installshield 2010. When this setup.exe for AMD64 is being invoked, the LaunchExe invokes the 32bit pkgmgr instead of 64-bit pkgmgr.
when I had made changes to be SW_SHOWNORMAL, the directory was set to c:\windows\syswow64 instead of c:\windows\system32.
Since its a 64-bit machine, the setup.exe is supposed to launch the executables from c:\windows\system32, but that doesn't happen. The installation folders seems to be correct, they are created under "c:\program files" but not under "c:\program files(x86)".
The installshield project is a basic MSI. The current problem was noticed in windows 2008 R2. This same setup.exe file was successful in windows 2003.
To be precise, invoking pkgmgr.exe inside a custom action in windows 2008 R2 invokes 32-bit pkgmgr.
Please tell me what the problem could be.
Thank you.
when I had made changes to be SW_SHOWNORMAL, the directory was set to c:\windows\syswow64 instead of c:\windows\system32.
Since its a 64-bit machine, the setup.exe is supposed to launch the executables from c:\windows\system32, but that doesn't happen. The installation folders seems to be correct, they are created under "c:\program files" but not under "c:\program files(x86)".
The installshield project is a basic MSI. The current problem was noticed in windows 2008 R2. This same setup.exe file was successful in windows 2003.
To be precise, invoking pkgmgr.exe inside a custom action in windows 2008 R2 invokes 32-bit pkgmgr.
Please tell me what the problem could be.
Thank you.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2010
12:37 PM
what does your custom action look like? Is it just an exe or vbscript? Also, how about specifying the full path to the exe using [System64Folder]?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2010
02:58 AM
If you are calling pkgmgr yourself from a script custom action do what I've found necessary which is to have 2 copies of the custom action, one marked to use 64bit scripting and the other not. Set conditions based on VersionNT64.
I have this same problem though with ISIISInstall running on a 64bit 2008 system: it calls pkgmgr (maybe through aspnet_regiis) from the syswow folder which therefore throws an error and doesn't install asp.net.
I have this same problem though with ISIISInstall running on a 64bit 2008 system: it calls pkgmgr (maybe through aspnet_regiis) from the syswow folder which therefore throws an error and doesn't install asp.net.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2010
10:12 AM
I tried providing the full path system64folder, still the pkgmgr or dism redirects to the 32-bit dism or pkgmgr.
But now when i gave the path as c:\windows\sysnative\dism.exe solved the issue.
sysnative is supposed to be the virtual directory and can redirect to current running OS bit-level.
I would have to try the other option given by manicfiddler.
Thanks
But now when i gave the path as c:\windows\sysnative\dism.exe solved the issue.
sysnative is supposed to be the virtual directory and can redirect to current running OS bit-level.
I would have to try the other option given by manicfiddler.
Thanks
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)