Hi

I am currently using installshield 2008 and I am trying to get the setacl.exe to run but I keep getting an return value error 1603 with the following:

I have created a custom action -> launch new exe -> stored in binary table
command line -> -on "[INSTALLDIR]" -ot file -actn ace -ace "n:EVERYONE;p:FULL"
return process -> Asynchronous (wait for exit code)
in-script execution -> Immediate
execute scheduling -> always execute
install exec sequence -> After InstallInitialize
condition -> not installed.

Has anyone have any ideas how to get this to work using the [INSTALLDIR]?

It works perfectly when I replace the [INSTALLDIR] with "C:\myfolder\etc"?

Any ideas?

below is a copy of my log the customaction is called newcustomaction1

=== Logging started: 08/10/2008 13:53:18 ===
Action 13:53:18: INSTALL.
Action start 13:53:18: INSTALL.
Action 13:53:18: AppSearch. Searching for installed applications
Action start 13:53:18: AppSearch.
Action ended 13:53:18: AppSearch. Return value 0.
Action 13:53:18: LaunchConditions. Evaluating launch conditions
Action start 13:53:18: LaunchConditions.
Action ended 13:53:18: LaunchConditions. Return value 0.
Action 13:53:18: SetupInitialization.
Action start 13:53:18: SetupInitialization.
Info 2898.For Tahoma8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898.For TahomaBold10 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 13:53:18: SetupInitialization. Dialog created
Action ended 13:53:18: SetupInitialization. Return value 1.
Action 13:53:18: FindRelatedProducts. Searching for related applications
Action start 13:53:18: FindRelatedProducts.
Action ended 13:53:18: FindRelatedProducts. Return value 1.
Action 13:53:18: ValidateProductID.
Action start 13:53:18: ValidateProductID.
Action ended 13:53:18: ValidateProductID. Return value 1.
Action 13:53:18: CostInitialize. Computing space requirements
Action start 13:53:18: CostInitialize.
Action ended 13:53:18: CostInitialize. Return value 1.
Action 13:53:18: FileCost. Computing space requirements
Action start 13:53:18: FileCost.
Action ended 13:53:18: FileCost. Return value 1.
Action 13:53:18: IsolateComponents.
Action start 13:53:18: IsolateComponents.
Action ended 13:53:18: IsolateComponents. Return value 0.
Action 13:53:18: setUserProfileNT.
Action start 13:53:18: setUserProfileNT.
Action ended 13:53:18: setUserProfileNT. Return value 1.
Action 13:53:18: setAllUsersProfile2K.
Action start 13:53:18: setAllUsersProfile2K.
Action ended 13:53:18: setAllUsersProfile2K. Return value 1.
Action 13:53:18: ResolveSource.
Action start 13:53:18: ResolveSource.
Action ended 13:53:18: ResolveSource. Return value 1.
Action 13:53:18: CostFinalize. Computing space requirements
Action start 13:53:18: CostFinalize.
Action ended 13:53:18: CostFinalize. Return value 1.
Action 13:53:18: MigrateFeatureStates. Migrating feature states from related applications
Action start 13:53:18: MigrateFeatureStates.
Action ended 13:53:18: MigrateFeatureStates. Return value 0.
Action 13:53:18: InstallWelcome.
Action start 13:53:18: InstallWelcome.
Action 13:53:18: InstallWelcome. Dialog created
Info 2898.For MSSansBold8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898.For MSSWhiteSerif8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 13:53:19: LicenseAgreement. Dialog created
Action 13:53:20: CustomerInformation. Dialog created
Action 13:53:20: DestinationFolder. Dialog created
Action 13:53:21: InstallRoleChoice. Dialog created
Action 13:53:21: SetupType. Dialog created
Action 13:53:22: ReadyToInstall. Dialog created
Action ended 13:53:22: InstallWelcome. Return value 1.
Action 13:53:22: SetupProgress.
Action start 13:53:22: SetupProgress.
Action 13:53:22: SetupProgress. Dialog created
Action ended 13:53:22: SetupProgress. Return value 1.
Action 13:53:22: ExecuteAction.
Action start 13:53:22: ExecuteAction.
Action 13:53:23: INSTALL.
Action start 13:53:23: INSTALL.
Action 13:53:23: AppSearch. Searching for installed applications
Action start 13:53:23: AppSearch.
Action ended 13:53:23: AppSearch. Return value 0.
Action 13:53:23: LaunchConditions. Evaluating launch conditions
Action start 13:53:23: LaunchConditions.
Action ended 13:53:23: LaunchConditions. Return value 0.
Action 13:53:23: FindRelatedProducts. Searching for related applications
Action start 13:53:23: FindRelatedProducts.
Action ended 13:53:23: FindRelatedProducts. Return value 0.
Action 13:53:23: ValidateProductID.
Action start 13:53:23: ValidateProductID.
Action ended 13:53:23: ValidateProductID. Return value 1.
Action 13:53:23: CostInitialize. Computing space requirements
Action start 13:53:23: CostInitialize.
Action ended 13:53:23: CostInitialize. Return value 1.
Action 13:53:23: ResolveSource.
Action start 13:53:23: ResolveSource.
Action ended 13:53:23: ResolveSource. Return value 1.
Action 13:53:23: FileCost. Computing space requirements
Action start 13:53:23: FileCost.
Action ended 13:53:23: FileCost. Return value 1.
Action 13:53:23: IsolateComponents.
Action start 13:53:23: IsolateComponents.
Action ended 13:53:23: IsolateComponents. Return value 0.
Action 13:53:23: CostFinalize. Computing space requirements
Action start 13:53:23: CostFinalize.
Action ended 13:53:23: CostFinalize. Return value 1.
Action 13:53:23: SetARPINSTALLLOCATION.
Action start 13:53:23: SetARPINSTALLLOCATION.
Action ended 13:53:23: SetARPINSTALLLOCATION. Return value 1.
Action 13:53:23: SetODBCFolders. Initializing ODBC directories
Action start 13:53:23: SetODBCFolders.
Action ended 13:53:23: SetODBCFolders. Return value 0.
Action 13:53:23: MigrateFeatureStates. Migrating feature states from related applications
Action start 13:53:23: MigrateFeatureStates.
Action ended 13:53:23: MigrateFeatureStates. Return value 0.
Action 13:53:23: InstallValidate. Validating install
Action start 13:53:23: InstallValidate.
Action ended 13:53:23: InstallValidate. Return value 1.
Action 13:53:23: RemoveExistingProducts. Removing applications
Action start 13:53:23: RemoveExistingProducts.
Action ended 13:53:23: RemoveExistingProducts. Return value 1.
Action 13:53:23: InstallInitialize.
Action start 13:53:23: InstallInitialize.
Action ended 13:53:28: InstallInitialize. Return value 1.
Action 13:53:28: AllocateRegistrySpace. Allocating registry space
Action start 13:53:28: AllocateRegistrySpace.
Action ended 13:53:28: AllocateRegistrySpace. Return value 1.
Action 13:53:28: ProcessComponents. Updating component registration
Action start 13:53:28: ProcessComponents.
Action 13:53:28: GenerateScript. Generating script operations for action:
GenerateScript: Updating component registration
Action ended 13:53:28: ProcessComponents. Return value 1.
Action 13:53:28: UnpublishComponents. Unpublishing Qualified Components
Action start 13:53:28: UnpublishComponents.
Action ended 13:53:28: UnpublishComponents. Return value 0.
Action 13:53:29: MsiUnpublishAssemblies. Unpublishing assembly information
Action start 13:53:29: MsiUnpublishAssemblies.
Action ended 13:53:29: MsiUnpublishAssemblies. Return value 0.
Action 13:53:29: UnpublishFeatures. Unpublishing product features
Action start 13:53:29: UnpublishFeatures.
Action ended 13:53:29: UnpublishFeatures. Return value 1.
Action 13:53:29: StopServices. Stopping services
Action start 13:53:29: StopServices.
Action ended 13:53:29: StopServices. Return value 1.
Action 13:53:29: DeleteServices. Deleting services
Action start 13:53:29: DeleteServices.
Action ended 13:53:29: DeleteServices. Return value 1.
Action 13:53:29: UnregisterComPlus. Unregistering COM+ Applications and Components
Action start 13:53:29: UnregisterComPlus.
Action ended 13:53:29: UnregisterComPlus. Return value 0.
Action 13:53:29: SelfUnregModules. Unregistering modules
Action start 13:53:29: SelfUnregModules.
Action ended 13:53:29: SelfUnregModules. Return value 1.
Action 13:53:29: UnregisterTypeLibraries. Unregistering type libraries
Action start 13:53:29: UnregisterTypeLibraries.
Action ended 13:53:29: UnregisterTypeLibraries. Return value 0.
Action 13:53:29: RemoveODBC. Removing ODBC components
Action start 13:53:29: RemoveODBC.
1: Removing ODBC components
Action ended 13:53:29: RemoveODBC. Return value 1.
Action 13:53:29: UnregisterFonts. Unregistering fonts
Action start 13:53:29: UnregisterFonts.
Action ended 13:53:29: UnregisterFonts. Return value 1.
Action 13:53:29: RemoveRegistryValues. Removing system registry values
Action start 13:53:29: RemoveRegistryValues.
Action ended 13:53:29: RemoveRegistryValues. Return value 1.
Action 13:53:29: UnregisterClassInfo. Unregister class servers
Action start 13:53:29: UnregisterClassInfo.
Action ended 13:53:29: UnregisterClassInfo. Return value 0.
Action 13:53:29: UnregisterExtensionInfo. Unregistering extension servers
Action start 13:53:29: UnregisterExtensionInfo.
Action ended 13:53:29: UnregisterExtensionInfo. Return value 0.
Action 13:53:29: UnregisterProgIdInfo. Unregistering program identifiers
Action start 13:53:29: UnregisterProgIdInfo.
Action ended 13:53:29: UnregisterProgIdInfo. Return value 0.
Action 13:53:29: UnregisterMIMEInfo. Unregistering MIME info
Action start 13:53:29: UnregisterMIMEInfo.
Action ended 13:53:29: UnregisterMIMEInfo. Return value 0.
Action 13:53:29: RemoveIniValues. Removing INI file entries
Action start 13:53:29: RemoveIniValues.
Action ended 13:53:29: RemoveIniValues. Return value 1.
Action 13:53:29: RemoveShortcuts. Removing shortcuts
Action start 13:53:29: RemoveShortcuts.
Action ended 13:53:29: RemoveShortcuts. Return value 0.
Action 13:53:29: RemoveEnvironmentStrings. Updating environment strings
Action start 13:53:29: RemoveEnvironmentStrings.
Action ended 13:53:29: RemoveEnvironmentStrings. Return value 1.
Action 13:53:29: RemoveDuplicateFiles. Removing duplicated files
Action start 13:53:29: RemoveDuplicateFiles.
Action ended 13:53:29: RemoveDuplicateFiles. Return value 1.
Action 13:53:29: RemoveFiles. Removing files
Action start 13:53:29: RemoveFiles.
Action ended 13:53:29: RemoveFiles. Return value 0.
Action 13:53:29: RemoveFolders. Removing folders
Action start 13:53:29: RemoveFolders.
Action ended 13:53:29: RemoveFolders. Return value 1.
Action 13:53:29: CreateFolders. Creating folders
Action start 13:53:29: CreateFolders.
CreateFolders: Folder: Creating folders
Action ended 13:53:29: CreateFolders. Return value 1.
Action 13:53:29: MoveFiles. Moving files
Action start 13:53:29: MoveFiles.
Action ended 13:53:29: MoveFiles. Return value 1.
Action 13:53:29: InstallFiles. Copying new files
Action start 13:53:29: InstallFiles.
InstallFiles: File: Copying new files, Directory: , Size:
Action ended 13:53:29: InstallFiles. Return value 1.
Action 13:53:29: Setwell.
Action start 13:53:29: Setwell.
Setwell:
Action ended 13:53:29: Setwell. Return value 1.
Action 13:53:29: PatchFiles. Patching files
Action start 13:53:29: PatchFiles.
Action ended 13:53:29: PatchFiles. Return value 1.
Action 13:53:29: DuplicateFiles. Creating duplicate files
Action start 13:53:29: DuplicateFiles.
Action ended 13:53:29: DuplicateFiles. Return value 1.
Action 13:53:29: BindImage. Binding executables
Action start 13:53:29: BindImage.
Action ended 13:53:29: BindImage. Return value 1.
Action 13:53:29: CreateShortcuts. Creating shortcuts
Action start 13:53:29: CreateShortcuts.
Action ended 13:53:29: CreateShortcuts. Return value 0.
Action 13:53:29: RegisterClassInfo. Registering class servers
Action start 13:53:29: RegisterClassInfo.
Action ended 13:53:29: RegisterClassInfo. Return value 0.
Action 13:53:29: RegisterExtensionInfo. Registering extension servers
Action start 13:53:29: RegisterExtensionInfo.
Action ended 13:53:29: RegisterExtensionInfo. Return value 0.
Action 13:53:29: RegisterProgIdInfo. Registering program identifiers
Action start 13:53:29: RegisterProgIdInfo.
Action ended 13:53:29: RegisterProgIdInfo. Return value 0.
Action 13:53:29: RegisterMIMEInfo. Registering MIME info
Action start 13:53:29: RegisterMIMEInfo.
Action ended 13:53:29: RegisterMIMEInfo. Return value 0.
Action 13:53:29: WriteRegistryValues. Writing system registry values
Action start 13:53:29: WriteRegistryValues.
Action ended 13:53:29: WriteRegistryValues. Return value 1.
Action 13:53:29: WriteIniValues. Writing INI file values
Action start 13:53:29: WriteIniValues.
Action ended 13:53:29: WriteIniValues. Return value 1.
Action 13:53:29: WriteEnvironmentStrings. Updating environment strings
Action start 13:53:29: WriteEnvironmentStrings.
Action ended 13:53:29: WriteEnvironmentStrings. Return value 1.
Action 13:53:29: RegisterFonts. Registering fonts
Action start 13:53:29: RegisterFonts.
Action ended 13:53:29: RegisterFonts. Return value 1.
Action 13:53:29: InstallODBC. Installing ODBC components
Action start 13:53:29: InstallODBC.
Action ended 13:53:29: InstallODBC. Return value 0.
Action 13:53:29: RegisterTypeLibraries. Registering type libraries
Action start 13:53:29: RegisterTypeLibraries.
Action ended 13:53:29: RegisterTypeLibraries. Return value 0.
Action 13:53:29: SelfRegModules. Registering modules
Action start 13:53:29: SelfRegModules.
Action ended 13:53:29: SelfRegModules. Return value 1.
Action 13:53:29: RegisterComPlus. Registering COM+ Applications and Components
Action start 13:53:29: RegisterComPlus.
Action ended 13:53:29: RegisterComPlus. Return value 0.
Action 13:53:29: InstallServices. Installing new services
Action start 13:53:29: InstallServices.
Action ended 13:53:29: InstallServices. Return value 1.
Action 13:53:29: StartServices. Starting services
Action start 13:53:29: StartServices.
Action ended 13:53:29: StartServices. Return value 1.
Action 13:53:29: RegisterUser. Registering user
Action start 13:53:29: RegisterUser.
RegisterUser: Registering user
Action ended 13:53:29: RegisterUser. Return value 1.
Action 13:53:29: RegisterProduct. Registering product
Action start 13:53:29: RegisterProduct.
RegisterProduct: Registering product
Action ended 13:53:29: RegisterProduct. Return value 1.
Action 13:53:29: PublishComponents. Publishing qualified components
Action start 13:53:29: PublishComponents.
Action ended 13:53:29: PublishComponents. Return value 0.
Action 13:53:29: MsiPublishAssemblies. Publishing assembly information
Action start 13:53:29: MsiPublishAssemblies.
Action ended 13:53:29: MsiPublishAssemblies. Return value 0.
Action 13:53:29: PublishFeatures. Publishing product features
Action start 13:53:29: PublishFeatures.
PublishFeatures: Feature: Publishing product features
Action ended 13:53:29: PublishFeatures. Return value 1.
Action 13:53:29: PublishProduct. Publishing product information
Action start 13:53:29: PublishProduct.
1: Publishing product information
Action ended 13:53:29: PublishProduct. Return value 1.
Action 13:53:29: InstallFinalize.
Action start 13:53:29: InstallFinalize.
Action 13:53:29: ProcessComponents. Updating component registration
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {FCE99371-49CC-4B16-AF3B-8DC9EB02ECC1} 3: C:\Program Files\HRH Limited\My Product Name\SetACL.exe
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {1277486B-F739-431B-BDD0-668629053140} 3: C:\Program Files\HRH Limited\My Product Name\
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {C944B637-71AF-4380-B93E-EE27E1A69C22} 3: C:\Program Files\HRH Limited\My Product Name\program\
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {A631728B-CE2C-4B18-AE19-C65DD1D39BF8} 3: C:\Program Files\HRH Limited\My Product Name\haspds_windows.dll
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {DBE54385-36AC-4D82-8BC2-9022F60CE968} 3: C:\Program Files\HRH Limited\My Product Name\hdinst_windows.dll
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {0DA3A675-FDE7-4348-AFF4-E735EB6C84B0} 3: C:\Program Files\HRH Limited\My Product Name\readme.html
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {93B8068E-BB6A-48F8-9375-FC97DDAC3D63} 3: C:\Program Files\HRH Limited\My Product Name\hinstall.exe
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {8B7AA4D6-6F35-4DA0-8ABA-C686D6D0F834} 3: C:\Documents and Settings\All Users\HRH\
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {02BBFF3F-5BE9-4967-B48F-054462742DBA} 3: C:\Documents and Settings\All Users\
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {FD932074-3132-4C9A-9A41-4F0C5CFA1029} 3: C:\Documents and Settings\All Users\HRH\GravitasData\
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F} 2: {25F4D76F-4940-4018-B120-DE81BA849FBB} 3: C:\Program Files\HRH Limited\My Product Name\Standard.GSC
Action 13:53:29: RemoveODBC. Removing ODBC components
Action 13:53:29: CreateFolders. Creating folders
CreateFolders: Folder: C:\Documents and Settings\All Users\
CreateFolders: Folder: C:\Documents and Settings\All Users\HRH\
CreateFolders: Folder: C:\Documents and Settings\All Users\HRH\GravitasData\
CreateFolders: Folder: C:\Program Files\HRH Limited\My Product Name\program\
Action 13:53:29: InstallFiles. Copying new files
InstallFiles: File: SetACL.exe, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 303616
InstallFiles: File: setacl.bat, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 116
InstallFiles: File: EveryoneShare.bat, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 92
InstallFiles: File: XCACLS.vbs, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 158865
InstallFiles: File: haspds_windows.dll, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 2511360
InstallFiles: File: hdinst_windows.dll, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 671112
InstallFiles: File: readme.html, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 3974
InstallFiles: File: hinstall.exe, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 3073608
InstallFiles: File: Standard.GSC, Directory: C:\Program Files\HRH Limited\My Product Name\, Size: 303104
Action 13:53:31: Setwell.
Info 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: Setwell, location: C:\Program Files\HRH Limited\My Product Name\, command:
Action 13:53:31: RegisterUser. Registering user
RegisterUser: {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Action 13:53:31: RegisterProduct. Registering product
RegisterProduct: {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Action 13:53:31: PublishFeatures. Publishing product features
PublishFeatures: Feature: Setacl
PublishFeatures: Feature: ClientApps
PublishFeatures: Feature: GravitasData
Action 13:53:31: PublishProduct. Publishing product information
1: ARPPRODUCTICON.exe
1: {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Action 13:53:31: RollbackCleanup. Removing backup files
Action ended 13:53:31: InstallFinalize. Return value 1.
Action 13:53:31: NewCustomAction1.
Action start 13:53:31: NewCustomAction1.
Action ended 13:53:32: NewCustomAction1. Return value 1603.
Action ended 13:53:32: INSTALL. Return value 1.
Property(S): DiskPrompt = [1]
Property(S): UpgradeCode = {D4C5DDC1-6BCA-429C-A5D4-C13E06EDAECF}
Property(S): ProductToBeRegistered = 1
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): OutOfDiskSpace = 0
Property(S): SourcedirProduct = {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Property(S): SOURCEDIR = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\
Property(S): CostingComplete = 1
Property(S): Preselected = 1
Property(S): UILevel = 5
Property(S): OriginalDatabase = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\test.msi
Property(S): DATABASE = C:\WINDOWS\Installer\2f4f590d.msi
Property(S): Privileged = 1
Property(S): RedirectedDllSupport = 2
Property(S): MsiWin32AssemblySupport = 5.1.2600.3019
Property(S): MsiNetAssemblySupport = 2.0.50727.42
Property(S): Date = 08/10/2008
Property(S): Time = 13:53:32
Property(S): TTCSupport = 1
Property(S): ColorBits = 32
Property(S): TextHeight = 16
Property(S): BorderSide = 1
Property(S): BorderTop = 1
Property(S): CaptionHeight = 26
Property(S): ScreenY = 768
Property(S): VersionNT = 501
Property(S): TARGETDIR = C:\
Property(S): ALLUSERSPROFILE = C:\Documents and Settings\All Users\
Property(S): ScreenX = 1024
Property(S): SystemLanguageID = 1033
Property(S): ComputerName = 5DL8C0J
Property(S): UserLanguageID = 2057
Property(S): CommonFilesFolder = C:\Program Files\Common Files\
Property(S): UserSID = S-1-5-21-1220945662-152049171-725345543-500
Property(S): LogonUser = Administrator
Property(S): AdminUser = 1
Property(S): VirtualMemory = 808
Property(S): HRH = C:\Documents and Settings\All Users\HRH\
Property(S): GRAVITASDATA = C:\Documents and Settings\All Users\HRH\GravitasData\
Property(S): PhysicalMemory = 511
Property(S): ProgramFilesFolder = C:\Program Files\
Property(S): HRH_LIMITED = C:\Program Files\HRH Limited\
Property(S): MY_PRODUCT_NAME = C:\Program Files\HRH Limited\My Product Name\
Property(S): INSTALLDIR = C:\Program Files\HRH Limited\My Product Name\
Property(S): ISCommonFilesFolder = C:\Program Files\Common Files\InstallShield\
Property(S): ISUpdateServiceFolder = C:\Program Files\Common Files\InstallShield\UpdateService\
Property(S): Intel = 15
Property(S): ShellAdvtSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): GPTSupport = 1
Property(S): PROGRAM = C:\Program Files\HRH Limited\My Product Name\program\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): DesktopFolder = C:\Documents and Settings\All Users\Desktop\
Property(S): StartMenuFolder = C:\Documents and Settings\All Users\Start Menu\
Property(S): ProgramMenuFolder = C:\Documents and Settings\All Users\Start Menu\Programs\
Property(S): StartupFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
Property(S): AdminToolsFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\
Property(S): MyPicturesFolder = C:\Documents and Settings\Administrator\My Documents\My Pictures\
Property(S): SourceDir = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\
Property(S): LocalAppDataFolder = C:\Documents and Settings\Administrator\Local Settings\Application Data\
Property(S): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\
Property(S): USERPROFILE = C:\Documents and Settings\Administrator\
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): TemplateFolder = C:\Documents and Settings\All Users\Templates\
Property(S): SendToFolder = C:\Documents and Settings\Administrator\SendTo\
Property(S): RecentFolder = C:\Documents and Settings\Administrator\Recent\
Property(S): PrintHoodFolder = C:\Documents and Settings\Administrator\PrintHood\
Property(S): PersonalFolder = C:\Documents and Settings\Administrator\My Documents\
Property(S): NetHoodFolder = C:\Documents and Settings\Administrator\NetHood\
Property(S): FavoritesFolder = C:\Documents and Settings\Administrator\Favorites\
Property(S): AppDataFolder = C:\Documents and Settings\Administrator\Application Data\
Property(S): TempFolder = C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
Property(S): RemoteAdminTS = 1
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): WindowsVolume = C:\
Property(S): MsiNTProductType = 1
Property(S): ServicePackLevelMinor = 0
Property(S): ServicePackLevel = 2
Property(S): ISCHECKFORPRODUCTUPDATES = 1
Property(S): ApplicationUsers = AllUsers
Property(S): _BrowseProperty = 0
Property(S): AgreeToLicense = No
Property(S): _IsMaintenance = Change
Property(S): RestartManagerOption = CloseRestart
Property(S): SetupType = Typical
Property(S): _IsSetupTypeMin = Typical
Property(S): Display_IsBitmapDlg = 1
Property(S): NewProperty1 = 0
Property(S): ARPPRODUCTICON = ARPPRODUCTICON.exe
Property(S): DefaultUIFont = Tahoma8
Property(S): DialogCaption = InstallShield for Windows Installer
Property(S): DisplayNameCustom = Custom
Property(S): DisplayNameMinimal = Minimal
Property(S): DisplayNameTypical = Typical
Property(S): DWUSINTERVAL = 30
Property(S): ErrorDialog = SetupError
Property(S): InstallChoice = AR
Property(S): INSTALLLEVEL = 100
Property(S): IS_COMPLUS_PROGRESSTEXT_COST = Costing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_INSTALL = Installing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_UNINSTALL = Uninstalling COM+ application: [1]
Property(S): IS_PROGMSG_XML_COSTING = Costing XML files...
Property(S): IS_PROGMSG_XML_CREATE_FILE = Creating XML file %s...
Property(S): IS_PROGMSG_XML_FILES = Performing XML file changes...
Property(S): IS_PROGMSG_XML_REMOVE_FILE = Removing XML file %s...
Property(S): IS_PROGMSG_XML_ROLLBACK_FILES = Rolling back XML file changes...
Property(S): IS_PROGMSG_XML_UPDATE_FILE = Updating XML file %s...
Property(S): IS_SQLSERVER_AUTHENTICATION = 0
Property(S): IS_SQLSERVER_USERNAME = sa
Property(S): ISVROOT_PORT_NO = 0
Property(S): Manufacturer = HRH Limited
Property(S): PIDTemplate = 12345<###-%%%%%%%>@@@@@
Property(S): ProductCode = {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Property(S): ProductID = none
Property(S): ProductLanguage = 1033
Property(S): ProductName = test
Property(S): ProductVersion = 1.00.0000
Property(S): PROGMSG_IIS_CREATEAPPPOOL = Creating application pool %s
Property(S): PROGMSG_IIS_CREATEAPPPOOLS = Creating application Pools...
Property(S): PROGMSG_IIS_CREATEVROOT = Creating IIS virtual directory %s
Property(S): PROGMSG_IIS_CREATEVROOTS = Creating IIS virtual directories...
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSION = Creating web service extension
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSIONS = Creating web service extensions...
Property(S): PROGMSG_IIS_EXTRACT = Extracting information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONEz = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEAPPPOOL = Removing application pool
Property(S): PROGMSG_IIS_REMOVEAPPPOOLS = Removing application pools...
Property(S): PROGMSG_IIS_REMOVESITE = Removing web site at port %d
Property(S): PROGMSG_IIS_REMOVEVROOT = Removing IIS virtual directory %s
Property(S): PROGMSG_IIS_REMOVEVROOTS = Removing IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSION = Removing web service extension
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSIONS = Removing web service extensions...
Property(S): PROGMSG_IIS_ROLLBACKAPPPOOLS = Rolling back application pools...
Property(S): PROGMSG_IIS_ROLLBACKVROOTS = Rolling back virtual directory and web site changes...
Property(S): PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS = Rolling back web service extensions...
Property(S): ProgressType0 = install
Property(S): ProgressType1 = Installing
Property(S): ProgressType2 = installed
Property(S): ProgressType3 = installs
Property(S): RebootYesNo = Yes
Property(S): ReinstallModeText = omus
Property(S): IS_PREVENT_DOWNGRADE_EXIT = A newer version of this application is already installed on this computer. If you wish to install this version, please uninstall the newer version first. Click OK to exit the wizard.
Property(S): SecureCustomProperties = ISFOUNDNEWERPRODUCTVERSION;USERNAME;COMPANYNAME;ISX_SERIALNUM;SUPPORTDIR;LAUNCHPROGRAM;INSTALLTYPE;INSTALLROLE
Property(S): ALLUSERS = 1
Property(S): DWUSLINK = CEABF7DF8E2CE7D8D9AC90AFA9CC978F3E9BD78F69AC80BFCEEBF7AFE97C905FE99BF098A9AC
Property(S): ARPURLINFOABOUT = http://www.HRHLimited.com
Property(S): SHOWLAUNCHPROGRAM = 0
Property(S): MsiLogging = voicewarmupx
Property(S): INSTALLTYPE = 1
Property(S): INSTALLROLE = Standard
Property(S): NewProperty2 = 0
Property(S): _Browse_Property = 0
Property(S): NewProperty3 = 0
Property(S): ARPINSTALLLOCATION = C:\Program Files\HRH Limited\My Product Name\
Property(S): WindowsBuild = 2600
Property(S): VersionMsi = 3.01
Property(S): ADDLOCAL = Setacl,ClientApps,GravitasData
Property(S): CURRENTDIRECTORY = C:\InstallShield 2008 Projects\test
Property(S): CLIENTUILEVEL = 0
Property(S): CLIENTPROCESSID = 884
Property(S): COMPANYNAME = HRH Limited
Property(S): USERNAME = Alan MacPherson
Property(S): VersionDatabase = 200
Property(S): ACTION = INSTALL
Property(S): EXECUTEACTION = INSTALL
Property(S): ROOTDRIVE = C:\
Property(S): SECONDSEQUENCE = 1
Property(S): PackagecodeChanging = 1
Property(S): ProductState = -1
Property(S): PackageCode = {A62A7F0A-644B-4565-9A33-0C0BB05E70A7}
Action ended 13:53:32: ExecuteAction. Return value 1.
Action 13:53:32: SetupCompleteSuccess.
Action start 13:53:32: SetupCompleteSuccess.
Info 2826.Control ShowMsiLogText on dialog SetupCompleteSuccess extends beyond the boundaries of the dialog to the right by 24 pixels.
Action 13:53:32: SetupCompleteSuccess. Dialog created
Action ended 13:53:34: SetupCompleteSuccess. Return value 2.
Action ended 13:53:34: INSTALL. Return value 1.
Property(C): DiskPrompt = [1]
Property(C): UpgradeCode = {D4C5DDC1-6BCA-429C-A5D4-C13E06EDAECF}
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): OutOfDiskSpace = 0
Property(C): SourcedirProduct = {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Property(C): CostingComplete = 1
Property(C): ROOTDRIVE = C:\
Property(C): EXECUTEACTION = INSTALL
Property(C): ACTION = INSTALL
Property(C): UILevel = 5
Property(C): VersionHandler = 3.01
Property(C): SOURCEDIR = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\
Property(C): OriginalDatabase = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\test.msi
Property(C): DATABASE = C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2f4f8baa.msi
Property(C): Privileged = 1
Property(C): RedirectedDllSupport = 2
Property(C): MsiWin32AssemblySupport = 5.1.2600.3019
Property(C): MsiNetAssemblySupport = 2.0.50727.42
Property(C): VersionNT = 501
Property(C): TARGETDIR = C:\
Property(C): ALLUSERSPROFILE = C:\Documents and Settings\All Users\
Property(C): Date = 08/10/2008
Property(C): Time = 13:53:34
Property(C): TTCSupport = 1
Property(C): ColorBits = 32
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): TextHeight = 16
Property(C): BorderSide = 1
Property(C): BorderTop = 1
Property(C): CaptionHeight = 26
Property(C): ScreenY = 768
Property(C): HRH = C:\Documents and Settings\All Users\HRH\
Property(C): GRAVITASDATA = C:\Documents and Settings\All Users\HRH\GravitasData\
Property(C): ScreenX = 1024
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): HRH_LIMITED = C:\Program Files\HRH Limited\
Property(C): MY_PRODUCT_NAME = C:\Program Files\HRH Limited\My Product Name\
Property(C): INSTALLDIR = C:\Program Files\HRH Limited\My Product Name\
Property(C): ISCommonFilesFolder = C:\Program Files\Common Files\InstallShield\
Property(C): ISUpdateServiceFolder = C:\Program Files\Common Files\InstallShield\UpdateService\
Property(C): SystemLanguageID = 1033
Property(C): ComputerName = 5DL8C0J
Property(C): PROGRAM = C:\Program Files\HRH Limited\My Product Name\program\
Property(C): UserLanguageID = 2057
Property(C): UserSID = S-1-5-21-1220945662-152049171-725345543-500
Property(C): LogonUser = Administrator
Property(C): AdminUser = 1
Property(C): VirtualMemory = 809
Property(C): PhysicalMemory = 511
Property(C): Intel = 15
Property(C): ShellAdvtSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): GPTSupport = 1
Property(C): FontsFolder = C:\WINDOWS\Fonts\
Property(C): SourceDir = C:\InstallShield 2008 Projects\test\Product Configuration 1\Release 1\DiskImages\DISK1\
Property(C): USERPROFILE = C:\Documents and Settings\Administrator\
Property(C): WindowsFolder = C:\WINDOWS\
Property(C): DesktopFolder = C:\Documents and Settings\All Users\Desktop\
Property(C): StartMenuFolder = C:\Documents and Settings\All Users\Start Menu\
Property(C): ProgramMenuFolder = C:\Documents and Settings\All Users\Start Menu\Programs\
Property(C): StartupFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
Property(C): AdminToolsFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\
Property(C): MyPicturesFolder = C:\Documents and Settings\Administrator\My Documents\My Pictures\
Property(C): LocalAppDataFolder = C:\Documents and Settings\Administrator\Local Settings\Application Data\
Property(C): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\
Property(C): TemplateFolder = C:\Documents and Settings\All Users\Templates\
Property(C): SendToFolder = C:\Documents and Settings\Administrator\SendTo\
Property(C): RecentFolder = C:\Documents and Settings\Administrator\Recent\
Property(C): PrintHoodFolder = C:\Documents and Settings\Administrator\PrintHood\
Property(C): PersonalFolder = C:\Documents and Settings\Administrator\My Documents\
Property(C): NetHoodFolder = C:\Documents and Settings\Administrator\NetHood\
Property(C): FavoritesFolder = C:\Documents and Settings\Administrator\Favorites\
Property(C): AppDataFolder = C:\Documents and Settings\Administrator\Application Data\
Property(C): ISCHECKFORPRODUCTUPDATES = 1
Property(C): ApplicationUsers = AllUsers
Property(C): _BrowseProperty = 0
Property(C): AgreeToLicense = Yes
Property(C): _IsMaintenance = Change
Property(C): RestartManagerOption = CloseRestart
Property(C): SetupType = Typical
Property(C): _IsSetupTypeMin = Typical
Property(C): Display_IsBitmapDlg = 1
Property(C): NewProperty1 = 0
Property(C): ARPPRODUCTICON = ARPPRODUCTICON.exe
Property(C): DefaultUIFont = Tahoma8
Property(C): DialogCaption = InstallShield for Windows Installer
Property(C): DisplayNameCustom = Custom
Property(C): DisplayNameMinimal = Minimal
Property(C): DisplayNameTypical = Typical
Property(C): DWUSINTERVAL = 30
Property(C): ErrorDialog = SetupError
Property(C): InstallChoice = AR
Property(C): INSTALLLEVEL = 100
Property(C): IS_COMPLUS_PROGRESSTEXT_COST = Costing COM+ application: [1]
Property(C): IS_COMPLUS_PROGRESSTEXT_INSTALL = Installing COM+ application: [1]
Property(C): IS_COMPLUS_PROGRESSTEXT_UNINSTALL = Uninstalling COM+ application: [1]
Property(C): IS_PROGMSG_XML_COSTING = Costing XML files...
Property(C): IS_PROGMSG_XML_CREATE_FILE = Creating XML file %s...
Property(C): IS_PROGMSG_XML_FILES = Performing XML file changes...
Property(C): IS_PROGMSG_XML_REMOVE_FILE = Removing XML file %s...
Property(C): IS_PROGMSG_XML_ROLLBACK_FILES = Rolling back XML file changes...
Property(C): IS_PROGMSG_XML_UPDATE_FILE = Updating XML file %s...
Property(C): IS_SQLSERVER_AUTHENTICATION = 0
Property(C): IS_SQLSERVER_USERNAME = sa
Property(C): ISVROOT_PORT_NO = 0
Property(C): Manufacturer = HRH Limited
Property(C): PIDTemplate = 12345<###-%%%%%%%>@@@@@
Property(C): ProductCode = {3A5CBE02-F3E1-486D-B457-74D4DECC034F}
Property(C): ProductID = none
Property(C): ProductLanguage = 1033
Property(C): ProductName = test
Property(C): ProductVersion = 1.00.0000
Property(C): PROGMSG_IIS_CREATEAPPPOOL = Creating application pool %s
Property(C): PROGMSG_IIS_CREATEAPPPOOLS = Creating application Pools...
Property(C): PROGMSG_IIS_CREATEVROOT = Creating IIS virtual directory %s
Property(C): PROGMSG_IIS_CREATEVROOTS = Creating IIS virtual directories...
Property(C): PROGMSG_IIS_CREATEWEBSERVICEEXTENSION = Creating web service extension
Property(C): PROGMSG_IIS_CREATEWEBSERVICEEXTENSIONS = Creating web service extensions...
Property(C): PROGMSG_IIS_EXTRACT = Extracting information for IIS virtual directories...
Property(C): PROGMSG_IIS_EXTRACTDONE = Extracted information for IIS virtual directories...
Property(C): PROGMSG_IIS_EXTRACTDONEz = Extracted information for IIS virtual directories...
Property(C): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(C): PROGMSG_IIS_REMOVEAPPPOOL = Removing application pool
Property(C): PROGMSG_IIS_REMOVEAPPPOOLS = Removing application pools...
Property(C): PROGMSG_IIS_REMOVESITE = Removing web site at port %d
Property(C): PROGMSG_IIS_REMOVEVROOT = Removing IIS virtual directory %s
Property(C): PROGMSG_IIS_REMOVEVROOTS = Removing IIS virtual directories...
Property(C): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSION = Removing web service extension
Property(C): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSIONS = Removing web service extensions...
Property(C): PROGMSG_IIS_ROLLBACKAPPPOOLS = Rolling back application pools...
Property(C): PROGMSG_IIS_ROLLBACKVROOTS = Rolling back virtual directory and web site changes...
Property(C): PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS = Rolling back web service extensions...
Property(C): ProgressType0 = install
Property(C): ProgressType1 = Installing
Property(C): ProgressType2 = installed
Property(C): ProgressType3 = installs
Property(C): RebootYesNo = Yes
Property(C): ReinstallModeText = omus
Property(C): IS_PREVENT_DOWNGRADE_EXIT = A newer version of this application is already installed on this computer. If you wish to install this version, please uninstall the newer version first. Click OK to exit the wizard.
Property(C): SecureCustomProperties = ISFOUNDNEWERPRODUCTVERSION;USERNAME;COMPANYNAME;ISX_SERIALNUM;SUPPORTDIR;LAUNCHPROGRAM;INSTALLTYPE;INSTALLROLE
Property(C): ALLUSERS = 1
Property(C): DWUSLINK = CEABF7DF8E2CE7D8D9AC90AFA9CC978F3E9BD78F69AC80BFCEEBF7AFE97C905FE99BF098A9AC
Property(C): ARPURLINFOABOUT = http://www.HRHLimited.com
Property(C): SHOWLAUNCHPROGRAM = 0
Property(C): MsiLogging = voicewarmupx
Property(C): INSTALLTYPE = 1
Property(C): INSTALLROLE = Standard
Property(C): NewProperty2 = 0
Property(C): _Browse_Property = 0
Property(C): NewProperty3 = 0
Property(C): TempFolder = C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
Property(C): RemoteAdminTS = 1
Property(C): System16Folder = C:\WINDOWS\system\
Property(C): SystemFolder = C:\WINDOWS\system32\
Property(C): WindowsVolume = C:\
Property(C): MsiNTProductType = 1
Property(C): ServicePackLevelMinor = 0
Property(C): ServicePackLevel = 2
Property(C): WindowsBuild = 2600
Property(C): VersionMsi = 3.01
Property(C): COMPANYNAME = HRH Limited
Property(C): USERNAME = Alan MacPherson
Property(C): VersionDatabase = 200
Property(C): CLIENTPROCESSID = 884
Property(C): CLIENTUILEVEL = 0
Property(C): CURRENTDIRECTORY = C:\InstallShield 2008 Projects\test
Property(C): PackagecodeChanging = 1
Property(C): ProductState = -1
Property(C): PackageCode = {A62A7F0A-644B-4565-9A33-0C0BB05E70A7}
=== Logging stopped: 08/10/2008 13:53:34 ===
MSI (c) (74:9C) [13:53:34:265]: Product: test -- Installation operation completed successfully.

Thanks in advance
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
CAs which make changes to the systembelong in the ExecuteDeferred sequence so move your action there. The complication is that you have only a very limited set of properties available in ED. So, you need two CAs: one to set what's called the CustomActionData property, which needs to be in the ExecuteImmediate (EI) sequence and the actual CA in ED.

So, let's say that your ED CA is called 'SetPermissions'. You need to create a CA in EI called, say, 'SetPermissions_EI'. This CA sets a property called 'SetPermissions' and populates that property with '[INSTALLDIR]'. Then your ED CA needs to use the special 'CustomActionData' property in place of INSTALLDIR:

command line -> -on "[CustomActionData]" -ot file -actn ace -ace "n:EVERYONE;p:FULL"

There's a reasonable article here http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q104413&sliceId=

Lastly, posting entire logs is a waste of time. Usually, the relevant stuff will be in a dozen or so lines at most. In any event, for lengthy text, please use the code tags, accessible using the '<%' button.
Answered 10/08/2008 by: VBScab
Red Belt

Please log in to comment
0
Thanks for your help and quick response but it still doesn't seem to be working.

I have created another custom action setpermissions_EI (new set property):
property name: SetPermissions
property value: [INSTALLDIR]
Install exec sequence: After LaunchConditions

I have updated my customaction1 to be called SetPermissions
command line: -on "[CustomActionData]" -ot file -actn ace -ace "n:EVERYONE;p:FULL"
In-Script execution: Deferred Execution in System Context
InstallExecSequence: After ScheduleReboot
Condition: Not Installed

There is no errors in the log it just doesn't add everyone to the list of permissions.

The property value is getting the correct directory.

Anybody any ideas.

Thanks in advance
Answered 10/08/2008 by: mutchie
Orange Belt

Please log in to comment
0
ORIGINAL: mutchie
There is no errors in the log it just doesn't add everyone to the list of permissions.
Does the log show the two actions being executed, though? If so, are they in the right order? I ask because, although I can see you're using InstallShield, Wise has the annoying habit of ocassionally completely screwing up the execution sequence and one has to go in and edit the InstallExecuteSequence table manually to restore the correct ordering. (Another v5.6 bug still outstanding in v7.01SP3...sigh...) Therefore, check in the InstallExecuteSequence that the SetPermissions_EI action is sequenced before SetPermissions.

Also, check that your command line actually works. I've seen so many logs showing 'SetACL finished successfully' where it actually didn't do what it was asked. I think it has issues where, if the various parameters (e.g. domain name, user name and so on) are OK, it reports success even if the permissions weren't applied.
Answered 10/09/2008 by: VBScab
Red Belt

Please log in to comment
0
The SetPermissions_EI is before the SetPermissions.

The SetPermissions sequence though produces this in the log which seems odd but could be correct, where I have CustomActionData in my commandline it is showing in the target as "" see below:

MSI (s) (48:F4) [09:36:32:703]: Executing op: ActionStart(Name=SetPermissions,,)
Action 09:36:32: SetPermissions.
MSI (s) (48:F4) [09:36:32:703]: Executing op: CustomActionSchedule(Action=SetPermissions,ActionType=3778,Source=BinaryData,Target=-on "" -ot file -actn ace -ace "n:%COMPUTERNAME%\EVERYONE;p:FULL",CustomActionData=C:\Documents and Settings\All Users\Documents\HRH\GravitasData\)
MSI (s) (48:F4) [09:36:32:703]: Executing op: ActionStart(Name=RegisterUser,Description=Registering user,Template=[1])
Answered 10/09/2008 by: mutchie
Orange Belt

Please log in to comment
0
Your log extract shows that CustomActionData is being set, though:

MSI (s) (48:F4) [09:36:32:703]: Executing op: CustomActionSchedule(Action=SetPermissions,ActionType=3778,Source=BinaryData,Target=-on "" -ot file -actn ace -ace "n:%COMPUTERNAME%\EVERYONE;p:FULL",CustomActionData=C:\Documents and Settings\All Users\Documents\HRH\GravitasData\)

Without experimenting with a binary-extracting CA, I can't recall if that is supposed to work, as I long ago took the view that folders will always need permissioning so why not have SetACL copied to the machine (into [SystemFolder], actually) and have done with it. Thus, my template includes it (in a merge module) and it just works.

A question arises: why on earth are you having to assign permissions to the AllUsers profile folder which, according to your log, is what CustomActionData is being resolved to? 'Everyone' should already have appropriate rights by default to that folder. I see you adding 'Full Control' which is complete over-kill anyway: users will only ever really need 'Change'.
Answered 10/09/2008 by: VBScab
Red Belt

Please log in to comment
0
I finally go this working yesterday and thought I would put up my solution. I discovered the problem was that [INSTALLDIR] ended with a \ setacl.exe will not add the permissions to a folder with a \.

I went back to just having the one custom action (new exe > Installed with product):
command line: -on "[RemoveBackSlash]" -ot file -actn ace -ace "n:EVERYONE;p:FULL"
return process: Asynchronous (no wait for completion)
in-script execution: Deferred Execution in System Context
execute scheduling: always execute
install exec sequence: After InstallInitialize
condition: not installed.

I then copy the [INSTALLDIR] to a property and used installscript to remove the back slash (function strRemoveLastSlash) and then used this property in my custom action to set the permissions.

Hope this makes sense and helps anyone.
Answered 10/10/2008 by: mutchie
Orange Belt

Please log in to comment
0
Of course! Folder properties are always resolved with a trailing backslash. Good detective work, Tracey, and well done for posting back with your result. So many don't bother to do that.
Answered 10/13/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity