Mar 10, 2021
06:38 AM
Solved, find the solution for deleting registry keys by using the RemoverRegistry table with a proper entry's.
... View more
Feb 26, 2021
04:53 AM
Hi, Need some help cause it is not clear to me where I put my "MyTestKey.reg" key in this script to let it work? /*--------------------------------------------------------------*\ * * InstallShield Example Script * * Demonstrates the RegDBDeleteKey function. * * This example creates and then deletes a registry key. * Almost all of the examples provided with the registry functions * use this function to delete a key. Please refer to those * examples for more information. * \*--------------------------------------------------------------*/ #define TITLE_TEXT "RegDBDeleteKey Example" // Include Ifx.h for built-in InstallScript function prototypes. #include "Ifx.h" export prototype ExFn_RegDBDeleteKey(HWND); function ExFn_RegDBDeleteKey(hMSI) STRING szKey, szClass, szKeyRoot, szMsg, svLogFile; NUMBER nResult1, nResult2; begin // Set up parameters for call to RegDBCreateKeyEx. szKey = "DeleteMeKey"; szClass = ""; // Create a key with no class value. if (RegDBCreateKeyEx (szKey, szClass) < 0) then MessageBox ("RegDBCreateKeyEx failed.", SEVERE); abort; else SprintfBox (INFORMATION, TITLE_TEXT, "%s successfully created.", szKey); endif; // Call RegDBDeleteKey to delete the key just created. if (RegDBDeleteKey (szKey) < 0) then MessageBox ("RegDBDeleteKey failed.", SEVERE); else SprintfBox (INFORMATION, TITLE_TEXT, "%s successfully deleted.", szKey); endif; end;
... View more
- Tags:
- RegDBDeleteKey
- script
Labels
Feb 24, 2021
06:08 AM
EDIT: Found it in https://docs.microsoft.com/en-us/windows/win32/msi/logging-of-action-return-values Values that appear in the Log. ERROR_SUCCESS 1 An action completed successfully.
... View more
Feb 24, 2021
05:21 AM
Thank you, Those keys are responsible for displaying special PowerPoint sheets. When I run the msi I still see a mix of old and new PPsheets. I m not sure if this remove/install action is performed or if the entry's in my RemoveRegistry table are correct. Thats why I was searching for a control option. MSI (s) (0C:6C) [12:14:57:124]: Doing action: RemoveRegistryValues Action 12:14:57: RemoveRegistryValues. Removing system registry values Action start 12:14:57: RemoveRegistryValues. RemoveRegistryValues: Key: Removing system registry values, Name: Action ended 12:14:57: RemoveRegistryValues. Return value 1. What means Return value 1? Kind Regards,
... View more
- Tags:
- RemoveRegistry table
Feb 24, 2021
04:28 AM
Hi, I must delete a HKCU regkey and replace it with a updated version. I've created a DeleteSpotlightRegkeys feature and component and a ImportSpolightRegKeys feature and component. I've used the RemoveRegistry table with the following settings: How can I control in the msi logfile or is there another option if this action was succesful?
... View more
Labels
Feb 19, 2021
07:48 AM
Problem solved, This has more or less been resolved and was a SCCM problem. A fter choosing "install for user" in SCCM deployment type, the msi worked correct and created the files and folders.
... View more
Feb 15, 2021
08:56 AM
Hi, I try to put some files in %appdata%\Microsoft\Sjablonen\ , or in %appdata%\Microsoft\Word\STARTUP like in the picture below But unfortunately I find the files in a completely different location: Property(S): MICROSOFT = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Microsoft\ Property(S): WORD = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Microsoft\Word\ Property(S): OPSTARTEN = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Microsoft\Word\OPSTARTEN\ Property(S): SJABLONEN = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Microsoft\Sjablonen\ Property(S): STARTUP = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Microsoft\Word\STARTUP\ What am I doing wrong?
... View more
Latest posts by MrTarpon
Subject | Views | Posted |
---|---|---|
58 | Mar 10, 2021 06:38 AM | |
116 | Feb 26, 2021 04:53 AM | |
109 | Feb 24, 2021 06:08 AM | |
113 | Feb 24, 2021 05:21 AM | |
126 | Feb 24, 2021 04:28 AM | |
132 | Feb 19, 2021 07:48 AM | |
170 | Feb 15, 2021 08:56 AM |
Activity Feed
- Posted Re: Help with RegDBDeleteKey example script on InstallShield Forum. Mar 10, 2021 06:38 AM
- Posted Help with RegDBDeleteKey example script on InstallShield Forum. Feb 26, 2021 04:53 AM
- Tagged Help with RegDBDeleteKey example script on InstallShield Forum. Feb 26, 2021 04:53 AM
- Tagged Help with RegDBDeleteKey example script on InstallShield Forum. Feb 26, 2021 04:53 AM
- Posted Re: RemoveRegistry table: How control if regkey is deleted and installed? on InstallShield Forum. Feb 24, 2021 06:08 AM
- Posted Re: RemoveRegistry table: How control if regkey is deleted and installed? on InstallShield Forum. Feb 24, 2021 05:21 AM
- Tagged Re: RemoveRegistry table: How control if regkey is deleted and installed? on InstallShield Forum. Feb 24, 2021 05:21 AM
- Posted RemoveRegistry table: How control if regkey is deleted and installed? on InstallShield Forum. Feb 24, 2021 04:28 AM
- Posted Re: AppDataFolder = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming ? on AdminStudio Forum. Feb 19, 2021 07:48 AM
- Posted AppDataFolder = C:\WINDOWS\system32\config\systemprofile\AppData\Roaming ? on AdminStudio Forum. Feb 15, 2021 08:56 AM