_Version: 10.6
Hi,
I made a Web-installer in which the
{ Install Parameters -> Installation Folders -> Application } value is set to a property K32PATH and the
{ ... -> ... -> Application Shortcut } value is set to
[DesktopFolder].
During installation, the FolderEdit field of FolderDlg correctly shows the value of K32PATH, which is extracted from a file search operation via
{ Custom Action -> ExecuteScriptCode -> someVBscript }
at PrepareDlg.
someVBscript looks like this:
Code: Select all
Dim location
location = Session.Property("K32LOCATION")
Dim position
position = InStrRev( location, "\")
Session.Property("K32PATH") = Left( location, position-1)Now I added another build of type
MSIbuild
(Options:
MSI with resources next to it
Place files unpacked in folders next to the MSI database)
and another of type
CDDVDbuild
(Options:
EXE setup with resources next to it
Archive installation files into CAB files + Compress + One CAB archive per feature)
In both these builds FolderEdit now contains some wrong path
{ C:\Program Files(x86)\myCompanyName\myApplicationName }
Now, with 'Run and log' I can see that the K32PATH is correctly set in ALL examples but APPDIR is set right one time but wrong the other times. Also SET_SHORTCUTDIR is set right the first time ( [DesktopFolder] ) but wrong the other times ( C:\ProgramData\Microsoft\Windows\Start Menu\Programs\myApplication ).
But I didn't change
{ Install Parameters -> Installation Folders -> Application }
or
{ Install Parameters -> Installation Folders. -> Application Shortcut }
Why is this happening??
FOLLOW US
Get the latest news in Application Packaging