Jan 16, 2018
09:14 AM
rguggisberg wrote: Is this happening on Windows 10? Is your InstallShield package a 32 bit package? I ran into the same thing executing PS in a bat file. I found that you need to execute the 64 bit version of PS. YES, there is a 32 bit and a 64 bit version! And if your IS package is 32 bit, it will execute the 32 bit version of PS! Here's what I did in a bat file. Do the translation for your application. REM To avoid error on Windows 10 we need to specify path to 64 bit PS as done below because our parent process is 32 bit. SET "PSx64=" & REM Can't use sysnative on Server 2012 R2 IF "%WinVer%"=="10" SET "PSx64=%windir%\sysnative\WindowsPowerShell\v1.0\" "%PSx64%POWERSHELL.EXE" ... rest of your PS command line I will test this in just a little while and let you know how it goes. Running powershell and doing Dism commands from an install project is all new to me so I'm a little lost and have a project with a lot of IIS and Azure config to do.
... View more
Jan 15, 2018
06:49 PM
I'm trying to run the following command during an install to enable IIS if it is not enabled Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All I can run this from Powershell with no problems but if I try a powershell custom action or even a launchappwait launching Powershell.exe I cannot make this work. How can I get this command to work in an Installshield BasicMSI project? Are there some installscript commands I can use? Thank you Brandon
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 21, 2015
05:46 AM
We use our own setup.exe that launches the MSI directly. This is done because we have other things that are installed prior to our app. Is there a way to add some thing the the command line that launches the MSI to keep from getting this dialog?
... View more
Aug 19, 2015
03:35 PM
Hello all, I have an install that we have been using for many years, it is MSI with some installscript and installs over 10,000 files. Anyway it has worked fine for years and works fine on everything up to Windows 8.1. I have now updated our installshield to 2015 and when we install on Windows 10 Enterprise it looks like it is installs fine and the app works fine but after clicking finish on the install I get the Program Compatibility Assistant dialog asking if the program installed correctly. How do I keep from getting that message? I have run the setup as admin and that did not help. Any help would be great. Thank you
... View more
Labels
- Labels:
-
InstallShield 2015
Jan 27, 2015
10:15 AM
So ADDLOCAL works if I list every feature I need. The only problem with this is we have about 25 features. Is there any way to select which feature I want to install using an installscript custom action when running in silent mode?
... View more
Jan 26, 2015
12:54 PM
I have a large MSI based install that installs three different versions of our program. The SN entered by the user decides what version of the program gets installed and selects features based on that. This all works great when run normally with the UI but when we run it with a /qn swithc to run it silently it always installs all features and I cannot figure out how to selectively turn some features off. I do have installscript functions that are called with custom actions and those are working except the feature selection. I have tried from the commandline too but it always installs everything. How can I turn something off? Brandon Lowe
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Jul 25, 2012
09:46 AM
I have a BasicMSI installation I'm working with. In a couple places I display a AskYesNo question and some times that will pop up under the forground window. Is they a command I can use right before the AskYesNo to force it to the top? Thanks Brandon
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Jul 18, 2012
12:34 PM
I need to display a dialog during uninstall and cannot figure out how to do it. I need to display this dialog if they select uninstall from control panel or from the maintenance dialog. Any help would be great. Thanks Brandon
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Jun 01, 2012
10:18 AM
Make sure if you are following his steps above that you test it on a test machine because after you do it you will also not be able to uninstall. I can duplicate it at will with the three new MSI installations we are developing in IS2012 right now. After doing the upgrade and getting stuck where it will only want to upgrade I thought maybe the system just did not think it upgraded so I went back and tried to run the previous install again but it displayed and error that the product was already installed and would not run. This problem is really bad for me and my team right now as we are getting ready for beta and I cannot let beta go with this error. I'm hoping it is just user error on my part but the fact that another team member has the same issue with a completely different install leads me to think not.
... View more
May 31, 2012
04:30 PM
I have 3 different Basic MSI installation right now that we are working on and we just started on the minor upgrade part and they are all 3 doing the same thing. Once you upgrade to the new build/version it now will only run in upgrade mode. No matter what you do it is now in update mode. I will try what is asked above to see if any of it helps.
... View more
May 31, 2012
10:17 AM
I have a Basic MSI install I'm working with. The version in the project is 5.00.000 right now. We run an automated build everynight and this gets a build number. When we were using installshield 2010 and installscript we had a function in our automated build that would change the last section of the version number to match our build number, example 5.00.011, 5.00.012 and so on. I have tried to open the ISM file and change this manually but when I do it does someting to the file that makes it no longer work in installshield. So is there a way to change this version number from a batch file or command line before building?
... View more
Labels
- Labels:
-
InstallShield 2012
May 21, 2012
08:51 AM
I have a basic MSI that I'm working on and I have the install, Modify mode and repair modes all working the way I want. No I need to add a couple of custom actions to the upgrade mode but I'm not sure what to look for to see if I'm in upgrade mode. Is it running in Maintiance mode? Can I insert a custom action after Maintiance Welcome? What property and Value do I look for? Thank you Brandon Lowe
... View more
Labels
- Labels:
-
InstallShield 2012
May 14, 2012
08:49 AM
I have an install with around 15 features. Install works great and modify lets me install those features that were not installed the first time if wanted later. My problem is with repair/reinstall mode. I need to be able to have the user select 1 or 2 or all features to reinstall as needed. I do not want it to always reinstall everything. How can I make it so the user can select only 1 feature to reinstall? Right now if I select only 1 feature it uninstalls everything else. Please help. Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
May 10, 2012
09:37 AM
Thanks for the help I'm now using MsiEnumRelatedProducts and MsiGetProductInfo and it is working great. I have one other question. I have a chained MSI that I'm installing. Is there a function I can call to get the version from that MSI? I have tried to search for the answer but all the answers are solutions for outside of installshield using SQL or C++. I would hope that installshield would have a function for this. Brandon
... View more
May 04, 2012
04:15 PM
Here is my MSI newbee question of the week. I need to read the registry and look at the upgrade code of a product. From that key I will get the product guid so I can go get the version of that product. I have no problem reading the reg and getting info from it. My question is, Does installshield or windows installer(MSI) have a function that unscrmbles the product guids that are written to the register. When I look the guids have had each section reversed. Why do they do this? Does anyone have a code clip for doing this? Thanks Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
Latest posts by Brandon_Lowe
Subject | Views | Posted |
---|---|---|
1275 | Jan 16, 2018 09:14 AM | |
1757 | Jan 15, 2018 06:49 PM | |
1128 | Aug 21, 2015 05:46 AM | |
1697 | Aug 19, 2015 03:35 PM | |
897 | Jan 27, 2015 10:15 AM | |
1794 | Jan 26, 2015 12:54 PM | |
2362 | Jul 25, 2012 09:46 AM | |
3930 | Jul 18, 2012 12:34 PM | |
3063 | Jun 01, 2012 10:18 AM | |
3063 | May 31, 2012 04:30 PM |
Activity Feed
- Posted Re: Powershell Custom action problems. Please help on InstallShield Forum. Jan 16, 2018 09:14 AM
- Posted Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Tagged Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Tagged Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Posted Re: Windows 10 Program Compatibility Assistant dialog, Please help on InstallShield Forum. Aug 21, 2015 05:46 AM
- Posted Windows 10 Program Compatibility Assistant dialog, Please help on InstallShield Forum. Aug 19, 2015 03:35 PM
- Posted Re: MSI Install always installing all features when run in silent mode on InstallShield Forum. Jan 27, 2015 10:15 AM
- Posted MSI Install always installing all features when run in silent mode on InstallShield Forum. Jan 26, 2015 12:54 PM
- Posted How do I force a messageBox to the forground in BasicMSI on InstallShield Forum. Jul 25, 2012 09:46 AM
- Posted How do I insert a dialog during uninstall in Basic MSI on InstallShield Forum. Jul 18, 2012 12:34 PM
- Posted Re: Minor upgrade does not work on InstallShield Forum. Jun 01, 2012 10:18 AM
- Posted Re: Minor upgrade does not work on InstallShield Forum. May 31, 2012 04:30 PM
- Posted Change the version number from the CMD line on InstallShield Forum. May 31, 2012 10:17 AM
- Posted Basic MSI, How do I detect Upgrade Mode on InstallShield Forum. May 21, 2012 08:51 AM
- Posted Reinstall only some features not all features on InstallShield Forum. May 14, 2012 08:49 AM
- Posted Re: Need help unscrambling product code on InstallShield Forum. May 10, 2012 09:37 AM
- Posted Need help unscrambling product code on InstallShield Forum. May 04, 2012 04:15 PM
- Posted Re: Force file overwrite in Basic MSI install on InstallShield Forum. May 01, 2012 08:29 AM
- Posted Force file overwrite in Basic MSI install on InstallShield Forum. Apr 30, 2012 03:42 PM
- Posted Re: Using SQL Scripts with BasicMSI install on InstallShield Forum. Apr 26, 2012 08:42 AM