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.
Adrien
Level 4
- Revenera Community
- :
- About Adrien
May 09, 2018
04:48 AM
Wow, it works like a charm, thank you very much! For those who would have the same need, simply save your Suite Project with a package cache path that you can search easily (ie: [LocalAppDataFolder]Downloaded InstallationsXXX). Then: [LIST=1] Open your .issuite file in a text editor. Search your custom cache path. You will see something like this: [CODE] [/CODE] Update this path as needed (ie: Name="[MyCachePath]"). That's all. If you reopen your Suite Projet, you can see [MyCachePath] as cache path for this package. Nice trick, thanks again 🙂 Adrien
... View more
Oct 10, 2017
10:39 AM
I cache our install using the default folder. One user logs in and installs. A different user logs in and uninstalls. No issues. The only think I can think of has already been mentioned though... is your install set to be "All Users"?
... View more
Dec 14, 2015
09:41 AM
Hi, I found a very simple trick by using the "Only Remove Specified Features" setting in the advanced tab of the major upgrade item. Features listed in this setting are used in the REMOVE property of the RemoveExistingProducts command line quoted above. By the way, if you specify someting like that: [CODE]ALL CURRENTDIRECTORY="[CURRENTDIRECTORY]"[/CODE] The command line to uninstall the old product in the RemoveExistingProducts action becomes the following: UPGRADINGPRODUCTCODE={GUID} CLIENTUILEVEL=0 REMOVE=ALL CURRENTDIRECTORY="Current directory from your major upgrade" A bit fishy, but it makes the job! Another solution could be to call a small upgrade as a prerequisite before starting the major upgrade, as described here. I haven't tested it, it would have been a little complicated in my case (the previous product had many minor upgrades). Hope this can help! Adrien
... View more
Aug 23, 2016
09:57 AM
We've enhanced click events in InstallShield 2016 to support running actions before closing a secondary window. While there might be some esoteric workarounds available before that (I haven't found one), it should be straightforward in InstallShield 2016 with the new Close Window event.
... View more
May 13, 2015
02:34 AM
Hi, I received confirmation from Flexera: The Ini file changes view ultimately populates the IniFile table and as the value field takes a data type of formatted, using the syntax of formatted data types such as curly braces would be the proper way to do this. Let's go for curly braces, then! Adrien
... View more
Nov 05, 2013
03:29 AM
Hi, I have solved the problem by building the Environment table in a custom action. So I can directly add the path without delimiter, instead of using a formatted property in the Value field of the Environment table (which seems to automatically add a delimiter...). in my case (custom action based on a Delphi dll function) it looks like this: [CODE]procedure InitEnvironmentTable(hInstall: MSIHandle); var Db, View: MSIHandle; Path, Query: string; begin if bsMsiGetProperty(hInstall, 'MYPATH', Path, MAX_PATH) then begin Path := ExcludeTrailingPathDelimiter(Path); MsiLogStringFmt(hInstall, 'Adding MYPATH to Environment table... (%s)', [Path]); Db := MsiGetActiveDatabase(hInstall); if Db <> 0 then try Query := 'INSERT INTO `Environment` (`Environment`, `Name`, `Value`, `Component_`) ' + 'VALUES (''NewEnvString'', ''*=-MyEnvString'', ''' + Path + ''', ''MyComponent'') TEMPORARY'; try if MsiDatabaseOpenView(Db, PAnsiChar(Query), View) <> ERROR_SUCCESS then MsiLogString(hInstall, MsiGetLastErrorRecord) else if MsiViewExecute(View, 0) <> ERROR_SUCCESS then MsiLogString(hInstall, MsiGetLastErrorRecord) else MsiLogString(hInstall, 'MYPATH added to Environment table.'); finally MsiCloseHandle(View); end; finally MsiCloseHandle(Db); end; end; end;[/CODE] Hope this help ! Adrien
... View more
Oct 10, 2013
10:28 AM
Hi, and thanks for answer ! Indeed, it's a minor upgrade. And you were right, I can see a cached 1036.mst in C:\Windows\Installer\{my product code}. If I delete it before update, new shortcuts use the good updating strings. However, I haven't found any solution by playing with REINSTALLMODE property to solve my problem... Unless remove the cached mst, localized shortcuts aren't updated. The only solution I found is to use display resources for my shortcuts. Thereby, when resource dll is updated, shortcuts are correctly updated too. The downside to this is that, according to Installshield help, display resources are not supported by Windows XP and earlier : Windows Vista and later and Windows Server 2008 and later include support for the display resource. Earlier systems ignore it. But it clearly seems to be the cleanest solution for me (no longer need to manually delete old shortcuts). For Windows XP users, I will use display names without version number for my shortcuts... Thanks for help ! (I stay interested in any alternative, of course)
... View more
Jan 22, 2013
11:17 AM
Thanks ! To keep the actual ShowMsiLog custom action in none admin installation, I have cloned it and edited this new "ShowMsiLogAdmin" as described in the release notes. Then in SetupCompleteError, SetupCompleteSuccess and SetupInterrupted dialogs, I have changed the ShowMsiLog event of "OK" or "Finish" buttons to launch it only in none admin installation, and I have added the ShowMsiLogAdmin event : DoAction | ShowMsiLog | And ACTION<>"ADMIN" DoAction | ShowMsiLogAdmin | And ACTION="ADMIN" Now it works perfectly ! 🙂
... View more
Latest posts by Adrien
Subject | Views | Posted |
---|---|---|
2255 | May 09, 2018 04:48 AM | |
2672 | May 03, 2018 11:10 AM | |
1697 | Aug 28, 2017 03:53 AM | |
2149 | Aug 22, 2017 03:42 AM | |
1269 | Dec 14, 2015 09:41 AM | |
1805 | Dec 14, 2015 07:22 AM | |
2089 | Jun 10, 2015 04:00 AM | |
2594 | May 13, 2015 02:34 AM | |
3770 | May 11, 2015 11:12 AM | |
928 | Nov 05, 2013 03:29 AM |
Activity Feed
- Posted Re: Cache path for packages in suite projects on InstallShield Forum. May 09, 2018 04:48 AM
- Posted Cache path for packages in suite projects on InstallShield Forum. May 03, 2018 11:10 AM
- Tagged Cache path for packages in suite projects on InstallShield Forum. May 03, 2018 11:10 AM
- Tagged Cache path for packages in suite projects on InstallShield Forum. May 03, 2018 11:10 AM
- Tagged Cache path for packages in suite projects on InstallShield Forum. May 03, 2018 11:10 AM
- Tagged Cache path for packages in suite projects on InstallShield Forum. May 03, 2018 11:10 AM
- Posted Re: Best practices for MSI cache on InstallShield Forum. Aug 28, 2017 03:53 AM
- Posted Best practices for MSI cache on InstallShield Forum. Aug 22, 2017 03:42 AM
- Tagged Best practices for MSI cache on InstallShield Forum. Aug 22, 2017 03:42 AM
- Posted Re: MSI parameters to uninstall old package during major upgrades ? on InstallShield Forum. Dec 14, 2015 09:41 AM
- Posted MSI parameters to uninstall old package during major upgrades ? on InstallShield Forum. Dec 14, 2015 07:22 AM
- Posted Modal results in Suite Projects (secondary windows) on InstallShield Forum. Jun 10, 2015 04:00 AM
- Posted Re: Empty values in ini files on InstallShield Forum. May 13, 2015 02:34 AM
- Posted Empty values in ini files on InstallShield Forum. May 11, 2015 11:12 AM
- Posted Re: Last path demiliter in environment strings on InstallShield Forum. Nov 05, 2013 03:29 AM
- Posted Last path demiliter in environment strings on InstallShield Forum. Nov 04, 2013 10:56 AM
- Posted Re: Localized shortcuts update on InstallShield Forum. Oct 10, 2013 10:28 AM
- Posted Localized shortcuts update on InstallShield Forum. Sep 05, 2013 08:20 AM
- Posted Re: "Show the Windows Installer log" doesn't work after administrative installation on InstallShield Forum. Jan 22, 2013 11:17 AM
- Posted "Show the Windows Installer log" doesn't work after administrative installation on InstallShield Forum. Jan 16, 2013 09:50 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Jul 07, 2020
06:02 AM
|