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.
Gary100
Level 3
- Revenera Community
- :
- About Gary100
Jul 13, 2017
06:29 PM
After reading this document: http://helpnet.installshield.com/installshield19helplib/helplibrary/CAPowerShell.htm I found out that you still need to run another batch file to run any un-signed .ps1 files. In the batch file you have the luxury of running: Powershell.exe -executionpolicy unrestricted -File C:\myfilename.ps1 I don't understand Micro$oft sometimes with all these requirements into their MSI while allowing you to modify pretty much everything with a custom action. And all of this work so SCCM is happy. When I was running LANDesk I wouldn't have to go through this ridiculousness.
... View more
Jul 13, 2017
04:41 PM
rguggisberg wrote: In a Suite you can execute DISM via a PowerShell Event. In you Basic MSI project you would execute DISM via a PowerShell CA. Thank you. This line was helpful to me to understand the differences.
... View more
Jul 13, 2017
11:29 AM
rguggisberg wrote: Gary100, Have you considered using a Suite project to launch your various .EXE's and MSI's? No, I haven't and i'm not sure how to do that but I was considering it because I need to run DISM.exe at some point and I read in the InstallShield documentation that you could do that in a suite. I haven't gotten there yet but I will look into it. So far, everything has been working well for me in terms of EXEs or batch files running them as custom actions. During this process, I also found out that InstallShield (or the MSI engine) cannot write to Windows Protected Folder (where TrustedInstaller is the owner) so you HAVE to run custom actions and scripts to overcome this by using TAKEOWN and ICACLS commands. I would appreciate your feedback on the suite though, if you could lay out some suggestions and details here. Thanks !
... View more
Jul 10, 2017
02:48 PM
I was able to fix it like this: 1. In-script execution: Commit execution in the system context 2. Install Exec Sequence: After InstallInitialize 3. Install Condition: Not Installed
... View more
Jul 10, 2017
12:42 PM
Here's what I have been able to accomplish so far (I'm using Install Shield 2016 by the way) 1. Created a basic MSI project. 2. In Installation Designer, under Files and Folder, I have added the Firefox executable to the directory where I'm installing it. (C:\Program Files x86\Company Name\Program Name\FirefoxFile.exe 3. Under custom actions I have created a new custom action (RunFirefoxSetup). I did this by selecting create a new exe with a Path referencing a directory. 4. The working directory is set to my folder where I'm installing the product in ProgramFiles. 5. The file name and command line is the full path to my folder "C:\Program Files (x86)\company name\Mozilla Firefox\FirefoxSetup52.2.0esr.exe" -ms 6. Return processing: Synchronous (Check exit code) 7. in-scrip execution: immediate execution 8. execution scheduling: always execute 9. under sequence I have chosen Install Exec Sequence After InstallFinalize. This whole thing works just fine but the problem is that I get UAC prompts TWICE. The first time is when I lauch the MSI and the second time is when the Firefox executable is launched. How can I suppress the UAC prompts in the executable?
... View more
Jul 10, 2017
11:05 AM
Hello all, I was wondering if you could point me into the right direction into an issue I'm having. First of all, I'm fairly new to InstallShield and don't have a lot of experience besides creating a transform with the Tuner. In our environment we have SCCM (2012R2) and for those of you who don't know, SCCM LOVES Msi-s and hates everything else. What I'm trying to do is convert some SCCM packages into MSIs. Again, for those of you who are not familiar with SCCM, packages are a nice way of saying say "scripts". I would like to convert these scripts into an MSI package. Let's take the firefox installer as an example. It's an exe file. Is it possible to run a custom script during the MSI install to run this exe with a silent switch? Also, can you run a MSI custom script, which runs a simple batch file or a powershell file during the MSI? Is this possible? Thank you for any of your help.
... View more
Labels
- Labels:
-
InstallShield 2016
Latest posts by Gary100
Subject | Views | Posted |
---|---|---|
4801 | Jul 13, 2017 06:29 PM | |
4801 | Jul 13, 2017 04:41 PM | |
4801 | Jul 13, 2017 11:29 AM | |
4801 | Jul 10, 2017 02:48 PM | |
4801 | Jul 10, 2017 12:42 PM | |
6872 | Jul 10, 2017 11:05 AM |
Activity Feed
- Posted Re: Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 13, 2017 06:29 PM
- Posted Re: Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 13, 2017 04:41 PM
- Posted Re: Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 13, 2017 11:29 AM
- Posted Re: Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 10, 2017 02:48 PM
- Posted Re: Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 10, 2017 12:42 PM
- Posted Basic MSI Project to run a batch file or powershell script on InstallShield Forum. Jul 10, 2017 11:05 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|