This website uses cookies. By clicking OK, 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.
pcs-doa
Pilgrim
Jan 25, 2018
12:46 AM
Flexera found a workaround... The issue appears to be related to the component .Net settings, specifically the '.NET Scan at Build' setting. In the project you have this set to 'Dependencies and Properties'. To work-around this issue for the time-being you can change this setting to 'Properties Only' or 'None' which should allow the automated builds to complete without error.
... View more
Jan 24, 2018
03:49 AM
Hello all, i have upgraded my ism files from 2015 to 2018 and i figured out, that my "headless" vbs script now crash. Using the same Script with 2015 (ISWiAuto22 ) everything was fine. After some trial and error i figured out, that if i am using Newtonsoft.Json.dll in my MergeModule.ism file the build crash on the commandline. If i do the same stuff in the IDE, the build is running without error. At the commandline the build crashed after "Building File table". I have attached a sample project which crashes if i'm using 2018. Using in 2015 everything is fine. Any Idea? ================= Logging started at 1/24/2018 10:41:44 ================== Created release folders Directory table successfully built Component table successfully built Loading File table Building File table
... View more
Labels
Jun 29, 2017
12:37 AM
Yes i have already tried this and it is already set but no effect. 😞
... View more
Jun 28, 2017
03:40 AM
Hello, i have a problem setting the destination path of a merge modul. I have set the path of the merge modul in the redistributable view (properties of the merge modul). I set the proerty called DLC_STARTUP in a Custom Dialog with MsiSetProperty. If i display the DLC_STARTUP property in a messagebox (in UI Sequence or Execute Sequence) the property contains the correct value. But the files of the merge modul a install to a wrong location! I found out, that if i set the property hard coded in a Custom Action called after AppSearch in UI Sequence and Execute Sequence than the value is used and the merge modul is installed to the hard coded destination. But this is to early because the Custom Dialog is called after InstallWelcome and there i want to set the path of the merge modul... How can i handle this? With MsiGetProperty i always get the correct value after setting it but the merge modul get an empty value and is installed in C:\ and not in the specified path. Any Idea? thx
... View more
Labels
Apr 12, 2013
02:54 AM
I found an other solution instead of using ServiceAddService. I have created the service in Components view and then edit all my "variable" fields like username, password and description in the Direct Editor (Service Install table). I only type my properties with [ and ] in the appropriate column of the table. But, no if i want to uninstall my Programm including the service, my service will not be uninstalled (Uninstall is selected in the Components Service Event) Any idea?
... View more
Apr 10, 2013
06:29 AM
Hi all, i want to create a service using installScript but nothing happens. I use the following Code and if i get the GetExtendedErrInfo no error will be displayed but i can't see the service in the services.exe application. function createDBService(hMSI) // To Do: Declare local variables. STRING StartCmd,StopCmd,startTimeout,stopTimeout, serviceName, serviceNameTxt,svScriptFile,svError,szName,svResult,svValue, serviceUser,servicePassword, serviceDependency; INT startBuffer,stopBuffer,starttBuffer,stoptBuffer,serviceBuffer,serviceBuffer1,serviceBuffer2,serviceBuffer3,nvLineNumber,nvError, nResult,nResult2; begin startBuffer=1000; stopBuffer=1000; starttBuffer=1000; stoptBuffer=1000; serviceBuffer=1000; serviceBuffer1=1000; serviceBuffer2=1000; serviceBuffer3=1000; // get properties MsiGetProperty(hMSI,"STARTCMD",StartCmd,startBuffer); MsiGetProperty(hMSI,"STOPCMD",StopCmd,stopBuffer); MsiGetProperty(hMSI,"STOPTIMEOUT",stopTimeout,stoptBuffer); MsiGetProperty(hMSI,"STARTTIMEOUT",startTimeout,starttBuffer); MsiGetProperty(hMSI,"AA_SERVICE_NAME",serviceName,serviceBuffer); MsiGetProperty(hMSI,"AA_SERVICE_DESC",serviceNameTxt,serviceBuffer1); MsiGetProperty(hMSI,"AA_USER_NAME",serviceUser,serviceBuffer2); MsiGetProperty(hMSI,"AA_PASSWORD",servicePassword,serviceBuffer3); MessageBox(serviceName + " " + serviceNameTxt + " " + serviceUser + " " + servicePassword,WARNING); ServiceInitParams (); SERVICE_IS_PARAMS.dwServiceType = SERVICE_WIN32_OWN_PROCESS; SERVICE_IS_PARAMS.dwStartType = SERVICE_AUTO_START; SERVICE_IS_PARAMS.dwErrorControl = SERVICE_ERROR_IGNORE; SERVICE_IS_PARAMS.lpServiceStartName = &serviceName; SERVICE_IS_PARAMS.lpPassword = &servicePassword; nResult = ServiceAddService( serviceName, serviceNameTxt, serviceNameTxt, TARGETDIR ^ "myexe.exe", FALSE, "" ); if (nResult < ISERR_SUCCESS) then GetExtendedErrInfo ( szName, nResult, nResult2 ); NumToStr ( svResult, nResult ); NumToStr ( svValue, nResult2 ); MessageBox ("Can not install Application Server service.\n" + "\n Script: " + szName + "\n Line: " + svResult + "\n Error#: " + svValue + "\n Error: " + FormatMessage (nResult2), SEVERE); else MessageBox("Successfully creating service",WARNING); endif; if(ServiceExistsService(serviceName) == TRUE) then MessageBox("Successfully creating service",WARNING); endif; end; Every time i get into the nResult < ISERR_SUCCESS section and the message says: --------------------------- ABC - InstallShield Wizard --------------------------- Can not install Application Server service. Script: C:\CodeBases\isdev\Script\ISRT\Src\Service.rul Line: 103 Error#: 0 Error: Der Vorgang wurde erfolgreich beendet. --------------------------- OK --------------------------- but no service exists!!! Any ideas?
... View more
Labels
Latest posts by pcs-doa
Subject | Views | Posted |
---|---|---|
458 | Jan 25, 2018 12:46 AM | |
1059 | Jan 24, 2018 03:49 AM | |
686 | Jun 30, 2017 01:35 AM | |
686 | Jun 29, 2017 12:37 AM | |
1951 | Jun 28, 2017 03:40 AM | |
383 | Apr 12, 2013 02:54 AM | |
1363 | Apr 10, 2013 06:29 AM |
Activity Feed
- Posted Workaround on InstallShield Forum. Jan 25, 2018 12:46 AM
- Posted migration from ISWiAuto22 to ISWiAuto24 (Installshield 2018) on InstallShield Forum. Jan 24, 2018 03:49 AM
- Posted Re: merge modul destination Path not set on InstallShield Forum. Jun 30, 2017 01:35 AM
- Posted Re: merge modul destination Path not set on InstallShield Forum. Jun 29, 2017 12:37 AM
- Posted merge modul destination Path not set on InstallShield Forum. Jun 28, 2017 03:40 AM
- Posted Found an other solution on InstallShield Forum. Apr 12, 2013 02:54 AM
- Posted ServiceAddService doesn't create service on InstallShield Forum. Apr 10, 2013 06:29 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|