Dec 23, 2013
09:13 AM
You can disable the change remove and repair buttons to show up in Add/Remove programs in the General information->Add or Remove programs. To affect the maintenance options that come up when rerunning the exe, you could edit the maintenance type dialog directly, although the user could still run a repair by using MSIEXEC.exe command line parameters, or by Windows Installer repairing automatically.
... View more
May 12, 2015
08:19 AM
Hi, In Installshield Express 2014, the bitmap image at the very beginning of an installation must be 440 x 275 pixels. However, on what seems to be quite "normal" resolutions, that image is shown as 580 x 350 and in a poor quality. It's a pity, because this could be a way to personalize installations with a good photograph and text. In the beta-version of 2015 I don't even find the way to enter the name of my bitmap, but projects converted from 2014 show the same resul: the image is resized in a bad quality. I have tried in version 2014 to use images larger than 440 x 275, but it doesn't work. Have you, Eladef, ever got an answer, or has anyone had the same problem and found a solution?
... View more
Oct 29, 2013
02:14 AM
Sorry didn’t understand you suggestion Currently I have shortcut AAA associated to feature A, now If feature A is installed I need shortcut name to be AAA If feature A and B are installed I need shortcut name to be BBB (without AAA)
... View more
Sep 06, 2013
07:07 PM
Another way to do it is to use Automation Interface to make non-persistent changes (associating components in Feature A to Feature C) during build time.
... View more
May 24, 2013
01:57 AM
Did you look for conditional expression something like "&MySubFeature=3" and display some message on push button if not selected
... View more
Jan 30, 2013
10:15 AM
Your question is confusing. 1. Define what you mean my 'Reinstall'. An Unistall, followed by an Install if often termed a Reinstall, but it shouldn't operate any different that a 'Fresh Install' unless you have left behind some permanent files. Are you talking about a 'Repair'? 2. Where are you trying to add these condition statements? To the CA or the Feature? 3. Please explain more clearly what you are trying to do.
... View more
Apr 26, 2011
12:52 PM
I don't how/if this would work in a Basic MSI project, but this is how I get it to work in InstallScript MSI. It takes the value of INSTALLDIR, clips off the last folder and replaces it with "MyFeature": 1) Set the Feature/Component Destinations for the feature(s) you want in "C:\COMPANY\DIR2" to a directory identifier called INSTALLDIR_MYFEATURE with some fake value (ex ##INSTALLDIR_MYFEATURE_FAKE##) 2) After Dlg_SdAskDestPath is called (where the user determines where they want your program installed), call this custom function by passing it the regular INSTALLDIR string: Prototype: prototype STRING MyFeature_GetMyFeatureInstallDir( byval STRING ); // szInstallDir Function: function STRING MyFeature_GetMyFeatureInstallDir( szInstallDir ) LIST lstInstallDir; STRING svMyFeatureInstallDir, svPathPart; NUMBER i; begin lstInstallDir = ListCreate( STRINGLIST ); // determine what value INSTALLDIR_MYFEATURE should have: StrGetTokens( lstInstallDir, szInstallDir, "\\" ); svMyFeatureInstallDir = ""; for i = 0 to ListCount( lstInstallDir ) - 2 ListSetIndex( lstInstallDir, i ); ListCurrentString( lstInstallDir, svPathPart ); if svMyFeatureInstallDir != "" then svMyFeatureInstallDir = svMyFeatureInstallDir + "\\" + svPathPart; else svMyFeatureInstallDir = svPathPart; endif; endfor; svMyFeatureInstallDir = svMyFeatureInstallDir ^ "MyFeature"; MsiSetProperty( ISMSI_HANDLE, "INSTALLDIR_MYFEATURE", svMyFeatureInstallDir ); return svMyFeatureInstallDir; end; 3) the following line from that function is what sets the correct value for the Feature/Component destinations: MsiSetProperty( ISMSI_HANDLE, "INSTALLDIR_MYFEATURE", svMyFeatureInstallDir ); Again, I don't work with Basic MSI projects but hopefully this will give you an idea of how it can be done. HTH
... View more
Aug 19, 2011
01:19 PM
Eladef, we want to do the same thing and I would like to know how you have made out on this? Also since IS 2011 only has the Microsoft Office 2007 PIA.prq, where did you get the one for 2010? Would you be able to supply the one you have or let me know where you found the 2010 one? Thanks,
... View more
Jan 04, 2011
02:06 PM
Hi, Try using a launch condition for SETUPEXEDIR property. This property only gets set when run from Setup.exe. Hence, it will cancel the setup, if run from msi. I hope this helps!
... View more
Nov 09, 2010
05:34 AM
In the value filedl of Regitry you can give like [COMPANYNAME] so it will updated with the value available on the property COMPANYNAME
... View more
Sep 23, 2010
10:15 AM
Could you post the code? A quick InstallScript test with a missing source file--- function OnBegin( ) NUMBER ret; begin ret = XCopyFile(WINDIR ^ "no-such.file", TARGETDIR, COMP_NORMAL); SprintfBox(INFORMATION, "XCopyFile result", "ret = %d\nMsg = %s", ret, FormatMessage(ret)); end; ---displays a message box with: nvIgnore = -2147024894 Msg = The system cannot find the file specified.
... View more
Oct 20, 2010
10:37 AM
There's no need to spin up a custom action for this sort of thing. A condition to check that you're running on (at least) Windows Server 2008 R2 should look like VersionNT >= 601 AND MsiNTProductType > 1 whereas a check for exactly Windows 7 that excludes Server variants should look lik VersionNT = 601 AND MsiNTProductType = 1. To check for a 64-bit OS, substitute VersionNT64 for VersionNT. To require a 64-bit OS, consider changing the template summary, although that yields control of the message to Windows Installer.
... View more
Aug 31, 2010
06:30 AM
Have you kept your Major Upgrade settings to "Completely uninstall older setup...". If not, try that way. It must clear your old files.
... View more
Jul 22, 2010
11:36 AM
How about creating your own exe that simply launches PowerShell script. You can then use that exe in a prerequisite and also include scripts in the same prerequisite...
... View more
Latest posts by eladef
Subject | Views | Posted |
---|---|---|
130 | Oct 31, 2022 03:46 PM | |
183 | Sep 15, 2022 07:06 AM | |
94 | Jul 25, 2022 08:20 AM | |
163 | Jan 12, 2022 10:26 AM | |
167 | Nov 25, 2021 05:36 AM | |
1030 | Oct 28, 2021 11:41 AM | |
352 | Jul 28, 2021 08:08 AM | |
215 | Jul 20, 2021 01:40 PM | |
550 | Jun 16, 2021 05:25 AM | |
559 | Jun 15, 2021 01:10 PM |
Activity Feed
- Posted Prerequisite – detection of Windows OS on InstallShield Forum. Oct 31, 2022 03:46 PM
- Posted .net framework 4.8.1 full installation .prq file ? on InstallShield Forum. Sep 15, 2022 07:06 AM
- Posted Update components destination which include product version on InstallShield Forum. Jul 25, 2022 08:20 AM
- Posted Iterate all files in Component at run time on InstallShield Forum. Jan 12, 2022 10:26 AM
- Posted Feature Prerequisite add properties and conditions to setup dialogs on InstallShield Forum. Nov 25, 2021 05:36 AM
- Tagged Feature Prerequisite add properties and conditions to setup dialogs on InstallShield Forum. Nov 25, 2021 05:36 AM
- Posted How to create totally empty environment variable on InstallShield Forum. Oct 28, 2021 11:41 AM
- Posted Include links in Eula.rtf on InstallShield Forum. Jul 28, 2021 08:08 AM
- Kudoed Displaying a File Open Browse Dialog in a Basic MSI project for Revenera_Ian. Jul 21, 2021 04:51 AM
- Posted Implement numericupdown control as in C# ? on InstallShield Forum. Jul 20, 2021 01:40 PM
- Posted Re: Multiple components + single component as key file on InstallShield Forum. Jun 16, 2021 05:25 AM
- Posted Multiple components + single component as key file on InstallShield Forum. Jun 15, 2021 01:10 PM
- Posted Re: Write to MSI log file from installscript CA on InstallShield Forum. Sep 08, 2020 10:21 AM
- Posted Write to MSI log file from installscript CA on InstallShield Forum. Jun 11, 2020 05:40 AM
- Posted .exe file with multiple shortcuts remain on uninstall on InstallShield Forum. May 04, 2020 11:31 AM
- Posted Include ClickOnce in a suite ? on InstallShield Forum. Jan 27, 2020 08:48 AM
- Tagged Include ClickOnce in a suite ? on InstallShield Forum. Jan 27, 2020 08:48 AM
- Tagged Include ClickOnce in a suite ? on InstallShield Forum. Jan 27, 2020 08:48 AM
- Posted Re: Set component destination to a varible and location of files on InstallShield Forum. Aug 28, 2019 08:32 AM
- Posted Set component destination to a varible and location of files on InstallShield Forum. Aug 27, 2019 05:43 AM