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.
enanrum
Level 9
- Revenera Community
- :
- About enanrum
Mar 11, 2014
03:18 PM
Not sure but you should only need to do the following: Increase the ProductVersion Change the Product Code Add Major Upgrade Item in Media->Upgrade
... View more
Mar 11, 2014
02:40 PM
BTW; this is not an error but a warning. This will not be an issue as long as the file is the same, but you may want to know why you have two references to the file. That I do not know. But, this happens when you have two or more un-associated components that have the same named file installing to the same location. When you build the msi, you will see the referenced folders in the Disk1 image. Example: I have two different components that install the same named dll but one is x32 and one x64. They both get installed to the GAC where I have a condition on the x64 component to only install if VersionNT64. The default "Source Location" of both components is GlobalAssemblyCache and you would see this folder out in the Disk1 image after building the msi. Unless I changed my "Source Location" of my x64 component, it would overwrite my x32 component in folder GlobalAssemblyCache in the Disk1 image. By changing the "Source Location" property of my x64 component to "GlobalAssemblyCache64" the warning goes away and I will retain both files on install. Again - if the file is the same - do not worry about it.
... View more
Jan 22, 2014
03:20 PM
When you say during File Copy - is that at build time? Not sure if this is the same issue but I believe you can change the ".NET Scan at Build" to "Properties Only" for your components. I changed my settings in the Options->.NET tab Default .Net Scan to "Properties Only" by default.
... View more
Jan 15, 2014
02:47 PM
Is there a reason you can't just add a dialog and add the Text boxes and labels of what is needed. Then use "Xml File Changes" with the property names from the dialog.
... View more
Jan 15, 2014
02:30 PM
How many different icons can you have? Perhaps instead of using the widget, and I have not tried this, but go into the Direct Editor, add all the different icons to the "Icon" table, just copy row and insert and change the values, and use a custom action during install to set the ARPPRODUCTICON property to one of you defined icons in the table. See how the installer does it now using the Icon table and ARPPRODUCTICON.exe from that table. Then you can condition have multiple SetProperty custom actions with your feature states as the condition. like SetPropertyIconOne Property Name = ARPPRODUCTICON Property value = "Icon1.exe" (From icon tables name Field) condition = &Feature1 Again - I'm not sure if that will work but let us know. Interesting concept. If that doesn't work then depending on what need to pass to your widget - use a Set Property custom action as above and use that property name for your widget. SetPropertyFeature1 Property Name = WIDGETARGUMENT Property value = "FeatureOneIcon" condition = &Feature1 SetPropertyFeature2 Property Name = WIDGETARGUMENT Property value = "FeatureTwoIcon" condition = &Feature2 CA to run the widget: runWidget [WIDGETARGUMENT]
... View more
Jan 15, 2014
02:00 PM
I'm using InstallShield GUI for this so not sure how to access this from "InstallShield LE 21012 form Visual Studio". However, in IS GUi, you should have 2 upgrade items, one which I believe is there by default and that is the PreventDowngrade with Products sharing my Upgrade Code. It has the minimum product version set to the current version and upper version range blank. The other item would have the "Any earlier versions" option sharing the same Upgrade Code. Again - check to make sure Upgrade codes are the same and yes, change the current product code and increase the version.
... View more
Jan 15, 2014
12:40 PM
So your looking for a prerequisite setup of "Access 2010 runtime" I doubt that one is available through Flexera. However - it is easy to create your own if you have the runtime installer. Just copy the exe to your prerequisites folder, open the Tools->Prereq Editor - browse to the Files to Include and save as "Access 2010 Runtime" Check out other .prq files or better yet - copy one that is close to what you are installing and modify Conditions and other entries.
... View more
Jan 15, 2014
12:21 PM
setup.exe /s /v"/qn" /v"PROPERTY=PropertyValue" /v"PROPERTYTWO=PropertyTwoValue" /v"INSTALLDIR=\"c:\Where\ever\"" I could be wrong but I do not think you can change private properties(propertis in Upper and Lower case) in the manner! I forget but i don't even thing you need the multiple "/v": setup.exe /s /v"/qn" /v"PROPERTY=PropertyValue PROPERTYTWO=PropertyTwoValue" and you need to quote if spaces in property values: setup.exe /s /v"/qn" /v"PROPERTY=PropertyValue PROPERTYTWO=\"Property Two Value\""
... View more
Mar 15, 2012
10:28 AM
No offense - but Really! This is a very vague question... What did the install do? Did you just drop some files and uninstall? Did the uninstaller ask you to reboot? Try running uninstaller with loggin turned on. Add this key to registry to enable logging: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer] "Logging"="viwearucmox"
... View more
Mar 15, 2012
10:18 AM
Create a CA and have a condition if running silent to run it. You can basically go through your features and re-add them to ADDLOCAL and REMOVE checking their FeatureState to see if it is already installed: [HTML] myList = ListCreate(STRINGLIST); ListAddString(listID,"Feature1", AFTER); etc... nResult = ListGetFirstString(myList,featureName); while (nResult != END_OF_LIST) MsiGetFeatureState (hMSI, featureName, nvInstallState, nvActionState); if nvInstallState = INSTALLSTATE_LOCAL then // add to Addlocal flag else if secretProperty = OK then Addlocalflag=true; else Addlocalflag=false; endif; endif; if AddLocal then if strAddlocal = "" then strAddlocal = featureName; else strAddlocal = strAddlocal + "," + featureName; endif; else if strRemoveFlag = "" then strRemove = featureName; else strRemove = strRemove + "," + featureName; endif; endif; nResult = ListGetFirstString(myList,featureName); endwhile; MsiSetProperty(hMSI, "ADDLOCAL", strAddlocal ); MsiSetProperty(hMSI, "REMOVE", strRemove ); endif;[/HTML] Or if you know what features are to be installed - just add them directly to the ADDLOCAL and REMOVE variables.
... View more
Mar 15, 2012
09:30 AM
Hmmm...tough one. Perhaps the following may work. I'm sure there is a way to get the SharedDll count from the registry for the shared Component, set this count to a property, ie SHAREDDLLCOUNT. Add a condition on the new dll component, SOMEFLAG, and default it to 1 (set it in Prop Manager "SOMEFLAG= 1".) Create a Custom Action, "Set Property: SOMEFLAG = 0." Add the CA in the sequence and add the condition "REMOVE AND SHAREDDLLCOUNT > 1" The condition of the shared dll would be false and would not be uninstalled. You maybe able to get the SharedDLL count using the "Behavior and Logic->System Search" - I use it to get reg entries but never tried for SharedDll count: Search For: [INSTALLDIR]\your\dll (yes you can use properties in here) Search In:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls] Store In: SHAREDLLCOUNT its a dword so not sure how it sets the property - test it out. Hope this helps - regards
... View more
Mar 14, 2012
04:02 PM
If you setup the prereq as a Feature Prereq, you can also use properties like: [SystemFolder]
... View more
Mar 14, 2012
03:58 PM
You can change the Directory of the Component using a Set Directory Custom action with condition VersionNT64. http://msdn.microsoft.com/en-us/library/windows/desktop/aa372497(v=vs.85).aspx
... View more
Mar 14, 2012
03:54 PM
Directory Table! Be careful in there. Why couldn't you have just changed it in the "General Resources" -> INSTALLDIR?
... View more
Latest posts by enanrum
Subject | Views | Posted |
---|---|---|
945 | Mar 11, 2014 03:18 PM | |
1075 | Mar 11, 2014 02:40 PM | |
1967 | Jan 22, 2014 03:20 PM | |
907 | Jan 15, 2014 02:47 PM | |
745 | Jan 15, 2014 02:30 PM | |
1353 | Jan 15, 2014 02:00 PM | |
881 | Jan 15, 2014 12:40 PM | |
1116 | Jan 15, 2014 12:21 PM | |
820 | Mar 15, 2012 10:42 AM | |
1623 | Mar 15, 2012 10:28 AM |
Activity Feed
- Posted Re: Over-install problem on InstallShield Forum. Mar 11, 2014 03:18 PM
- Posted Re: error -5061 after switching from setup.exe to setup.msi on InstallShield Forum. Mar 11, 2014 02:40 PM
- Posted Re: How do I stop Installshield from checking for dependencies while copying files. on InstallShield Forum. Jan 22, 2014 03:20 PM
- Posted Re: How to prompt the user to enter some values and then save them into an XML file on InstallShield Forum. Jan 15, 2014 02:47 PM
- Posted Re: Can I Pass Feature State (&Feature1 or !Feature1) As Command Line Args to .exe CA? on InstallShield Forum. Jan 15, 2014 02:30 PM
- Posted Re: Auto uninstall before install on InstallShield Forum. Jan 15, 2014 02:00 PM
- Posted Re: How to find a setup prerequisite on InstallShield Forum. Jan 15, 2014 12:40 PM
- Posted Re: Basic MSI silent installations on InstallShield Forum. Jan 15, 2014 12:21 PM
- Posted Re: CustomAction & UnInstall on InstallShield Forum. Mar 15, 2012 10:42 AM
- Posted Re: Error 0x80040705 String accessed out of bonds on InstallShield Forum. Mar 15, 2012 10:28 AM
- Posted Re: ADDLOCAL and feature condition evaluation on InstallShield Forum. Mar 15, 2012 10:18 AM
- Posted Re: "dependent" component? on InstallShield Forum. Mar 15, 2012 09:30 AM
- Posted Re: Prerequisite command Line specify system folder on InstallShield Forum. Mar 14, 2012 04:02 PM
- Posted Re: How to check if the target system is a WIn7 32-bit or 64-bit? on InstallShield Forum. Mar 14, 2012 03:58 PM
- Posted Re: How to redefine INSTALLDIR? on InstallShield Forum. Mar 14, 2012 03:54 PM
- Posted Re: Basic MSI - Dynamic link problem. on InstallShield Forum. Feb 29, 2012 11:03 AM
- Posted Basic MSI - Dynamic link problem. on InstallShield Forum. Feb 24, 2012 01:54 PM
- Posted Re: Does Automation go both ways? on InstallShield Forum. Feb 24, 2012 12:50 PM
- Posted Re: Rename a Folder on InstallShield Forum. Feb 20, 2012 10:01 AM
- Posted Re: Basic MSI - Unable To Set setup.exe In Startup Launcher on InstallShield Forum. Feb 17, 2012 09:52 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|