Jan 16, 2018
10:49 AM
Hello Friends, I am trying to run a powershell script through LaunchAppandWait. I want to catch the errors incase this powershell script fails. But the problem is: the nResult = LAAW_PARAMETERS.nLaunchResult; always returns 0 even when the powershell script failed. How to handle this case. I have to fail the installer whenever this powershell script fails. And i have to run this script through installscript only due to some dependency. Any ideas?? Please help Thanks
... View more
Labels
- Labels:
-
InstallShield 2015
Nov 03, 2017
08:55 AM
Hello Friends, I need to delete a SSL certificate from Personal & Trusted root certificate store. How can i do this. I have only CN (Common name) of the certificate, i cant use Thumbprint as i dont have it. with "certutil -delstore" command how can i achieve this? Can someone provide a code snippet example. Thanks. Its urgent please help me.
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 31, 2017
10:38 AM
MarkusLatz wrote: Privileged is like AdminUser so you could also create an InstallScript action and call: Is(USER_ADMINISTRATOR,"") and set the result to a suite property. Is(USER_ADMINISTRATOR,"") anyways i am using but its not full proof, as i found and also read in lot of forums that its not capable of finding full admin privileges as compared to Privileged property. Privileged property is the ultimate property for knowing that you have all the privileges or not.
... View more
Aug 31, 2017
10:18 AM
MarkusLatz wrote: With SuiteGetProperty you can retrieve "suite properties". But the "Privileged"-Property I know is a Windows Installer property. We have to know from where you want to retrieve that value. i.e. if you are inside an MSI you can just use the property. regards Markus Thanks markus, I want to use this property in Suite installer. Can I do this? Or any alternative is there?
... View more
Aug 30, 2017
01:20 AM
Hello Guys, Can somebody provide a code snippet where it shows how to use "Privileged" property. What value needs to be checked and all? Currently i am using SuiteGetProperty("Privileged", szAdmin); Its returning me " " I dont know how to use this property but i know that this is the property i need to use. Please help. thanks
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 29, 2017
10:37 AM
chad.petersen wrote: You should be able to use *.* in the RemoveFiles table. Have you tried that? I use it and it seems to do exactly what one would expect. Chad Thanks, i didnt knew about that. BUT its a suite installer and it doesnt have a RemoveFiles table. 🙂
... View more
Aug 29, 2017
10:27 AM
chad.petersen wrote: Have you considered using the RemoveFiles table? I always try to use native MSI capabilities whenever possible, and only extend using Custom Actions if there is no other good way. I assume someone wrote this Delete function. It doesn't seem to be one that is built in to InstallScript language as far as I can tell. There is a DeleteFile built in that I can see. Even here, Flexera recommends using the RemoveFiles table if possible. Project: In a Basic MSI or InstallScript MSI project, this functionality might be better achieved by using the native Windows Installer RemoveFiles action. For more information, see the Windows Installer Help. http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefDeleteFile.htm Chad Hi, Thanks for the response I cannot use the Remove file table as i dont know the file names or types as there could be any no. of files of any name or type. Yes, i am using the inbuilt Delete file method.
... View more
Aug 29, 2017
08:28 AM
Hello Friends, I want to delete all the files (irrespective of the names or types) in a folder. Delete(FilePath\*.*) not working. It returns the error - file not found. whereas the files are present in the folder. Any help how can i delete all the files inside the folder. [NOTE: I DONT WANT TO DELETE ANY SUB DIRECTORIES INSIDE THE FOLDER, JUST THE FILES] Thanks
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 28, 2017
01:26 AM
Guys, Any help on this? waiting for some suggestions. Thanks
... View more
Aug 12, 2017
11:46 AM
dinesh_redhawk wrote: Hello friends, In my installer, i am creating a Web url shortcut using the INI file changes technique. https://localhost This shows that the URL shortcut creation via INI file changes takes place before the [IISHOSTNAME] property gets updated to "WIN161" So i want to know, is there any way i can create the url shortcut with the updated value of [IISHOSTNAME]? Can i sequence the INI file changes to the end of the installation so that the shortcut creation takes place in the end with the updated value. Please suggest. Thanks SOLUTION: The INI file change sequence is when WriteIniFile custom action gets executed. You can find it in execute sequence . Dont change the sequence of default events as it will break somewhere else then. Instead, try to move your own custom action according to the sequence. I moved mine to after InstallWelcome sequence and achieved my requirement.
... View more
Aug 12, 2017
11:43 AM
dinesh_redhawk wrote: Hello Friends, I recently upgraded my IS2015 project to IS2016SP1 and started facing all sorts of problem while installing various packages: One of the package - (SQL server 2014) it started failing. With IS2015 build, it works but with IS2016SP1 build it fails. When i compared the log files from both the builds, this is what found: WORKING BUILD: EXE parcel resolved command line: /SKIPRULES=RebootRequiredCheck /IACCEPTSQLSERVERLICENSETERMS /Q /INSTANCENAME="MSSQLSERVER" /ACTION="Install" /UpdateEnabled="False" /FEATURES=SQLENGINE,RS,IS,SSMS,ADV_SSMS /HELP="False" /INDICATEPROGRESS="False" /ERRORREPORTING="False" /SQMREPORTING="False" /SQLSVCSTARTUPTYPE="Automatic" /FILESTREAMLEVEL="0" /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /ISSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /TCPENABLED="1" /NPENABLED="0" /SQLSVCACCOUNT="BLaBla" /SQLSVCPASSWORD="**********" /SQLSVCSTARTUPTYPE="Automatic" /RSSVCACCOUNT="BlahBlah" /RSSVCPASSWORD="**********" /RSSVCStartupType="Automatic" /HIDECONSOLE FAILING BUILD: EXE parcel resolved command line: ********** The command lines arguments which i am trying to pass on to the SQL setup.exe are getting converted to ********** Anyone knows how to fix this? Please help. Solution: The way installshield 2016 reads the properties is different then the way IS2015 used to read. So you we replaced the properties with the hardcoded strings and it started working. And the ************ was due to ISHiddenProperties. But FYI, the ISHiddenproperties also donot work properly on IS2016 as it fails to hide the properties in logs after system reboot and resume installation.
... View more
Aug 10, 2017
06:01 AM
Hello Friends, I recently upgraded my IS2015 project to IS2016SP1 and started facing all sorts of problem while installing various packages: One of the package - (SQL server 2014) it started failing. With IS2015 build, it works but with IS2016SP1 build it fails. When i compared the log files from both the builds, this is what found: WORKING BUILD: EXE parcel resolved command line: /SKIPRULES=RebootRequiredCheck /IACCEPTSQLSERVERLICENSETERMS /Q /INSTANCENAME="MSSQLSERVER" /ACTION="Install" /UpdateEnabled="False" /FEATURES=SQLENGINE,RS,IS,SSMS,ADV_SSMS /HELP="False" /INDICATEPROGRESS="False" /ERRORREPORTING="False" /SQMREPORTING="False" /SQLSVCSTARTUPTYPE="Automatic" /FILESTREAMLEVEL="0" /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /ISSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /TCPENABLED="1" /NPENABLED="0" /SQLSVCACCOUNT="BLaBla" /SQLSVCPASSWORD="**********" /SQLSVCSTARTUPTYPE="Automatic" /RSSVCACCOUNT="BlahBlah" /RSSVCPASSWORD="**********" /RSSVCStartupType="Automatic" /HIDECONSOLE FAILING BUILD: EXE parcel resolved command line: ********** The command lines arguments which i am trying to pass on to the SQL setup.exe are getting converted to ********** Anyone knows how to fix this? Please help.
... View more
Labels
- Labels:
-
InstallShield 2016
Aug 10, 2017
02:33 AM
Hello Friends, ISHiddenProperties properly works when you start your installation. But when you need to reboot your system [such as cases after installing SQL], when next time the installation resumes again all the hidden properties values will be displayed in the log files Any solution for this? please suggest. thanks
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 09, 2017
09:19 AM
Hello friends, In my installer, i am creating a Web url shortcut using the INI file changes technique. https://localhost This shows that the URL shortcut creation via INI file changes takes place before the [IISHOSTNAME] property gets updated to "WIN161" So i want to know, is there any way i can create the url shortcut with the updated value of [IISHOSTNAME]? Can i sequence the INI file changes to the end of the installation so that the shortcut creation takes place in the end with the updated value. Please suggest. Thanks
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 09, 2017
12:18 AM
Hello Friends, I am facing a unique problem. My Installer is suppose to work with administrator user. The scenario here is, when user is logged as local administrator, all goes well.. BUT, when logged in user is part of Administrator group, and invokes the setup, it fails in performing some actions due to insufficient admin privileges.. Why is it so? I am not doing anything specifically for this behavior,I have just set the requires administrator privileges settings in Release section. My question is - Ideally both Local Admin user AND user part of Admin group, should have equal rights, but then why the behavior is different in Installshield? Any thoughts please. Thanks
... View more
Labels
- Labels:
-
InstallShield 2016
Latest posts by dinesh_redhawk
Subject | Views | Posted |
---|---|---|
2377 | Jan 16, 2018 10:49 AM | |
6460 | Nov 03, 2017 08:55 AM | |
1861 | Aug 31, 2017 10:38 AM | |
1861 | Aug 31, 2017 10:18 AM | |
2622 | Aug 30, 2017 01:20 AM | |
4121 | Aug 29, 2017 10:37 AM | |
4121 | Aug 29, 2017 10:27 AM | |
5193 | Aug 29, 2017 08:28 AM | |
1247 | Aug 28, 2017 01:26 AM | |
1206 | Aug 12, 2017 11:46 AM |
Activity Feed
- Posted How to catch powershell errors in Installscript through LaunchAppandWait on InstallShield Forum. Jan 16, 2018 10:49 AM
- Tagged How to catch powershell errors in Installscript through LaunchAppandWait on InstallShield Forum. Jan 16, 2018 10:49 AM
- Tagged How to catch powershell errors in Installscript through LaunchAppandWait on InstallShield Forum. Jan 16, 2018 10:49 AM
- Tagged How to catch powershell errors in Installscript through LaunchAppandWait on InstallShield Forum. Jan 16, 2018 10:49 AM
- Posted How to delete a SSL certificate using certutil on InstallShield Forum. Nov 03, 2017 08:55 AM
- Posted Re: How to use Privileged property in Installshield - Suite Installer on InstallShield Forum. Aug 31, 2017 10:38 AM
- Posted Re: How to use Privileged property in Installshield - Suite Installer on InstallShield Forum. Aug 31, 2017 10:18 AM
- Posted How to use Privileged property in Installshield - Suite Installer on InstallShield Forum. Aug 30, 2017 01:20 AM
- Tagged How to use Privileged property in Installshield - Suite Installer on InstallShield Forum. Aug 30, 2017 01:20 AM
- Posted Re: Delete(FilePath\*.*) not working on InstallShield Forum. Aug 29, 2017 10:37 AM
- Posted Re: Delete(FilePath\*.*) not working on InstallShield Forum. Aug 29, 2017 10:27 AM
- Posted Delete(FilePath\*.*) not working on InstallShield Forum. Aug 29, 2017 08:28 AM
- Tagged Delete(FilePath\*.*) not working on InstallShield Forum. Aug 29, 2017 08:28 AM
- Posted Re: ISHiddenProperties not working after system reboot - Suite Installer on InstallShield Forum. Aug 28, 2017 01:26 AM
- Posted Re: When does the INI file changes trigger?What is the sequence? on InstallShield Forum. Aug 12, 2017 11:46 AM
- Posted Re: Upgradation issue: Command Line arguments not resolved properly by IS2016SP1 on InstallShield Forum. Aug 12, 2017 11:43 AM
- Posted Upgradation issue: Command Line arguments not resolved properly by IS2016SP1 on InstallShield Forum. Aug 10, 2017 06:01 AM
- Posted ISHiddenProperties not working after system reboot - Suite Installer on InstallShield Forum. Aug 10, 2017 02:33 AM
- Tagged ISHiddenProperties not working after system reboot - Suite Installer on InstallShield Forum. Aug 10, 2017 02:33 AM
- Posted When does the INI file changes trigger?What is the sequence? on InstallShield Forum. Aug 09, 2017 09:19 AM