Jul 19, 2011
12:21 PM
Hello, I am using InstallScript 2010 to create several language releases of the same installer. Installation goes fine for all languages, but when I uninstall non English OS the uninstaller reports success but the entry is not removed from Add/Remove Programs. When I click the entry to uninstall again I see the attached error ("An error occurred while trying to remove . It may have already been uninstalled. Would you like to remove from Add or Remove programs list?" When I select "yes" the entry is removed and the registry key is cleaned. I also noticed that after first uninstall the uninstall icon in Add/Remove changes. Has anyone experienced this issue?? Thanks, IG
... View more
Labels
- Labels:
-
InstallShield 2010
Aug 18, 2010
02:45 PM
Hello, Is there a way to order the entries under System Search (Basic MSI project)? I am searching for values of 2 regkeys, and the value of one is used as part of the path of the second one. Therefore the first one must be found before the second one. After a few tries of removing/re-adding entries I am able to get the required order but it seems random/by luck. Thanks, Bila
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 13, 2010
02:17 PM
Thanks for your help. Looks like I forgot to reset nvSize after the MsiGetProperty call and before the ExpandEnvironmentStringsA call. Bila
... View more
Jul 13, 2010
01:19 PM
What are you setting MAX_PATH to be? Why can't nvSize be hardcoded inside the function to say nvSize=256 since we don't expect the path to be longer than 256 characters? Thanks, Bila
... View more
Jul 13, 2010
12:44 PM
I've tried both with the same result: Setup.exe /s /v"/qn" /v"INSTALLDIR=\"C:\Program Files\Documentum\FSS\"" /v"CACHE_ROOT=%%USERPROFILE%%" /v"CS_ENABLE=FALSE" /v"CS_SERVER_URL=\"\"" /v"FSS_ABBREVIATEDPRODUCTNAME=MDD" /v"FSS_BROWSE_CACHE_TIMEOUT=120000" /v"FSS_CACHE_CLEANUP_CRON_SCHEDULE=\"0 0 2 * * ?\"" /v"FSS_CACHE_CLEANUP_QUOTA=20Mb" /v"FSS_DEFAULT_CABINET_OBJECT_TYPE=dm_cabinet" /v"FSS_DEFAULT_DOCUMENT_OBJECT_TYPE=dm_document" /v"FSS_DEFAULT_FOLDER_OBJECT_TYPE=dm_folder" /v"FSS_DEFAULT_REPO=\"\"" /v" FSS_DOMAIN=EARTH" /v"FSS_IGNORE_HOST_WARNING=false" /v"FSS_MONITOR_SHUTDOWN_TIMEOUT=60" /v"FSS_OFFLINE_CHECK_INTERVAL=30s" /v"FSS_OFFLINE_TIMEOUT=30s" /v"FSS_PORT=4545" /v"FSS_REQUESTED_ATTRIBUTES=\"r_object_type,r_content_size,r_modify_date,r_creation_date\"" /v"FSS_RETAIN_CACHE=TRUE" /v"FSS_SCHED_IMPORT_ENABLED=FALSE" /v"FSS_SCHED_IMPORT_TIME=15m" /v"FSS_SERVER_URL=\"http://torontario:8890\"" /v"FSS_TASKPANE_ATTRIBUTES=\"object_name,r_object_type,r_content_size,r_modify_date,r_creation_date\"" /v"FSS_USE_ACS_DIRECTLY=FALSE" /v"FSS_WS_TIMEOUT_FILEOPS=30000" /v"FSS_XMLRPC_PORT=2736" /v"/l*v MDD.log" And Setup.exe /s /v"/qn" /v"INSTALLDIR=\"C:\Program Files\Documentum\FSS\"" /v"CACHE_ROOT=\"%%USERPROFILE%%\"" /v"CS_ENABLE=FALSE" /v"CS_SERVER_URL=\"\"" /v"FSS_ABBREVIATEDPRODUCTNAME=MDD" /v"FSS_BROWSE_CACHE_TIMEOUT=120000" /v"FSS_CACHE_CLEANUP_CRON_SCHEDULE=\"0 0 2 * * ?\"" /v"FSS_CACHE_CLEANUP_QUOTA=20Mb" /v"FSS_DEFAULT_CABINET_OBJECT_TYPE=dm_cabinet" /v"FSS_DEFAULT_DOCUMENT_OBJECT_TYPE=dm_document" /v"FSS_DEFAULT_FOLDER_OBJECT_TYPE=dm_folder" /v"FSS_DEFAULT_REPO=\"\"" /v" FSS_DOMAIN=EARTH" /v"FSS_IGNORE_HOST_WARNING=false" /v"FSS_MONITOR_SHUTDOWN_TIMEOUT=60" /v"FSS_OFFLINE_CHECK_INTERVAL=30s" /v"FSS_OFFLINE_TIMEOUT=30s" /v"FSS_PORT=4545" /v"FSS_REQUESTED_ATTRIBUTES=\"r_object_type,r_content_size,r_modify_date,r_creation_date\"" /v"FSS_RETAIN_CACHE=TRUE" /v"FSS_SCHED_IMPORT_ENABLED=FALSE" /v"FSS_SCHED_IMPORT_TIME=15m" /v"FSS_SERVER_URL=\"http://torontario:8890\"" /v"FSS_TASKPANE_ATTRIBUTES=\"object_name,r_object_type,r_content_size,r_modify_date,r_creation_date\"" /v"FSS_USE_ACS_DIRECTLY=FALSE" /v"FSS_WS_TIMEOUT_FILEOPS=30000" /v"FSS_XMLRPC_PORT=2736" /v"/l*v MDD.log"
... View more
Jul 13, 2010
12:31 PM
After some more investigation it seems that this issue occurs whenever I call MsiGetProperty (hMSI, "CACHE_ROOT", svCacheRoot, nvSize); The svCacheRoot is set by the user in a silent install batch script. If I remove the above call and hardcode svCacheRoot inside the script (ie. svCacheRoot="%USERPROFILE%" ) the call returns the correctly expanded string. I could reproduce this even when I changed the way I call the function to: prototype INT kernel32.ExpandEnvironmentStringsA(BYVAL STRING, BYREF STRING, INT); export prototype ExFn_CreateCacheDir(HWND); function ExFn_CreateCacheDir(hMSI) STRING svCacheRoot, svCacheRootExpanded, svUILevel; NUMBER nvSize; INT intRetval; STRING svEnvVar; STRING svInstallDir; STRING svCantSaveFilesHere; begin nvSize = 256; MsiGetProperty (hMSI, "CACHE_ROOT", svCacheRoot, nvSize); intRetval = ExpandEnvironmentStringsA( svCacheRoot, svCacheRootExpanded, nvSize); MessageBox(svCacheRootExpanded,0); SprintfBox (INFORMATION, "return value ", "retval: %d", intRetval); MessageBox ("path: '" + svCacheRoot + "'", SEVERE); MessageBox ("expanded path: " + svCacheRootExpanded, SEVERE); Thanks, Bila
... View more
Jul 09, 2010
03:27 PM
Hello, During a silent install the user passes env variables to the Basic MSI installer. Using a custom script I try to expand it using the following code: prototype stdcall NUMBER Kernel32.ExpandEnvironmentStrings(BYVAL STRING, POINTER, NUMBER); .... .... pString = &svCacheRootExpanded; nvSize = 256; MsiGetProperty (hMSI, "CACHE_ROOT", svCacheRoot, nvSize); MsiGetProperty (hMSI, "INSTALLDIR", svInstallDir, nvSize); if (svCacheRoot == "") then svCacheRoot = svInstallDir + "Cache"; MsiSetProperty(hMSI, "CACHE_ROOT", svCacheRoot); else intRetval =Kernel32.ExpandEnvironmentStrings(svCacheRoot,pString, nvSize); SprintfBox (INFORMATION, "return value ", "retval: %d", intRetval); MessageBox ("path: " + svCacheRoot, SEVERE); MessageBox ("expanded path: " + svCacheRootExpanded, SEVERE); endif; intRetval is 37 svCacheRoot is %VAR% svCacheRootExpanded is empty Any ideas why the svCacheRootExpanded does not get the value of the expanded path? Thanks, Bila
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 06, 2010
08:58 PM
Thanks Bineesh. This command produced a more verbose log that indicated the user needs to be Administrator in order to run the uninstallation. It's a bit strange since the user does have "Administrator" permissions and was the same user who installed the application. Uninstallation was successful once I ran the uninstall batch file "as Administrator".
... View more
Jul 05, 2010
10:24 AM
Hello, I am running a basic MSI installation with a ISSCHEDULEREBOOT condition to decide whether the application should be started (if ISSCHEDULEREBOOT <> 1 the installer starts the application). This works in other platforms but not in Win7 64bit. I noticed in the installation log files there is no reference to ISSCHEDULEREBOOT so it does not seem it is even being set. Does anyone know if this is a IS2010 limitation on Win7? Is there another way to test for reboot in Win7? Thanks, Bila
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 02, 2010
09:53 PM
The log file is empty. The command I ran with logging options is: msiexec.exe /X {ProductCode} /qn /log log.txt
... View more
Jul 02, 2010
06:42 PM
Hello, I've been using the following command for silent uninstall successfully on win XP: msiexec.exe /x {ProductCode} /qn However, when I tried it on Win7 it does not do anything. When I remove the /qn the uninstaller launches successfully in GUI mode. Any suggestions?
... View more
Labels
- Labels:
-
InstallShield 2010
Latest posts by InstallGal
Subject | Views | Posted |
---|---|---|
3519 | Jul 19, 2011 12:21 PM | |
1529 | Aug 18, 2010 02:45 PM | |
2076 | Jul 13, 2010 02:17 PM | |
2076 | Jul 13, 2010 01:19 PM | |
2076 | Jul 13, 2010 12:44 PM | |
2076 | Jul 13, 2010 12:31 PM | |
4086 | Jul 09, 2010 03:27 PM | |
690 | Jul 06, 2010 08:58 PM | |
5035 | Jul 05, 2010 10:24 AM | |
690 | Jul 02, 2010 09:53 PM |
Activity Feed
- Posted Uninstall entry not removed from Add/Remove Programs on InstallShield Forum. Jul 19, 2011 12:21 PM
- Posted Ordering System Search Entries on InstallShield Forum. Aug 18, 2010 02:45 PM
- Posted Re: Expanding Environment Variables on InstallShield Forum. Jul 13, 2010 02:17 PM
- Posted Re: Expanding Environment Variables on InstallShield Forum. Jul 13, 2010 01:19 PM
- Posted Re: Expanding Environment Variables on InstallShield Forum. Jul 13, 2010 12:44 PM
- Posted Re: Expanding Environment Variables on InstallShield Forum. Jul 13, 2010 12:31 PM
- Posted Expanding Environment Variables on InstallShield Forum. Jul 09, 2010 03:27 PM
- Posted Re: Silent uninstall does not work on Win7 on InstallShield Forum. Jul 06, 2010 08:58 PM
- Posted ISSCHEDULEREBOOT doesn't seem to be set in Win7 64bit on InstallShield Forum. Jul 05, 2010 10:24 AM
- Posted Re: Silent uninstall does not work on Win7 on InstallShield Forum. Jul 02, 2010 09:53 PM
- Posted Silent uninstall does not work on Win7 on InstallShield Forum. Jul 02, 2010 06:42 PM