1
A
回答
1
我不認爲這是可能的Inno Setup的正確。也許是一些Inno Setup克隆。
問題是Inno Setup中的所有標籤都是TStaticText
,它不透明。所以你將不得不全部替換爲TLabel
。其中有很多。他們由Inno Setup管理。所以你不知怎的必須不斷更新新的TStaticText
's到Inno Setup設置爲原始TLabel
的值。這可能不可能。
所以實際上,可以在你的問題中創建一個頁面。但只是因爲沒有標準的Inno安裝標籤。但是你不能隱藏所有這些。
procedure InitializeWizard();
var
BackImage: TBitmapImage;
begin
{ Hide top panel }
WizardForm.MainPanel.Visible := False;
{ Adjust "select dir" page controls for a stretched inner page size }
WizardForm.DirEdit.Left := WizardForm.DirEdit.Left + WizardForm.InnerNotebook.Left;
WizardForm.DirEdit.Top := WizardForm.DirEdit.Top + WizardForm.InnerNotebook.Top;
WizardForm.DirBrowseButton.Left :=
WizardForm.DirBrowseButton.Left + WizardForm.InnerNotebook.Left;
WizardForm.DirBrowseButton.Top :=
WizardForm.DirBrowseButton.Top + WizardForm.InnerNotebook.Top;
{ Hide non-transparent labels }
WizardForm.DiskSpaceLabel.Visible := False;
WizardForm.SelectDirBrowseLabel.Visible := False;
WizardForm.SelectDirLabel.Visible := False;
{ Stretch the outer page across whole form }
WizardForm.OuterNotebook.Width := WizardForm.ClientWidth;
WizardForm.OuterNotebook.Height := WizardForm.ClientHeight;
{ Stretch the inner page across whole outer page }
WizardForm.InnerNotebook.Left := 0;
WizardForm.InnerNotebook.Top := 0;
WizardForm.InnerNotebook.Width := WizardForm.OuterNotebook.ClientWidth;
WizardForm.InnerNotebook.Height := WizardForm.OuterNotebook.ClientHeight;
{ Put buttons on top of the page (image) }
WizardForm.BackButton.BringToFront()
WizardForm.NextButton.BringToFront();
WizardForm.CancelButton.BringToFront();
{ Add a background image }
BackImage := TBitmapImage.Create(WizardForm);
BackImage.Parent := WizardForm.SelectDirPage;
BackImage.Top := 0;
BackImage.Left := 0;
{ ... }
BackImage.Bitmap.LoadFromFile(...);
end;
類似的問題:
- 顯示背景圖像之上 「頁腳」 只:
How to hide the main panel and show an image over the whole page? - 顯示 「標頭」 和「之間的背景圖像頁腳「:Image covering whole page in Inno Setup。
1
也許你可以試試Graphical Installer的Inno Setup的是專門爲此設計的。
有了它,你可以創建很酷的安裝,並且支持不斷變化的背景(這幅畫是從影子戰術比賽的最後一個項目)MOD:
我這個項目(商業)的開發人員,所以如果您需要更多信息,請隨時提問。
相關問題
- 1. Inno Setup中的全屏背景圖像
- 2. Inno Setup安裝程序測試安裝程序退出代碼
- 3. Inno Setup - 用於多個安裝程序的安裝程序
- 4. Inno Setup - 讓Inno安裝程序安裝程序向主安裝程序報告安裝進度狀態
- 5. Inno Setup:安裝程序在安裝完成後從不啓動
- 6. 在Inno Setup安裝中運行另一個安裝程序
- 7. Inno Setup - 如何防止安裝應用程序時的安裝?
- 8. 如何使用Inno Setup安裝程序升級MSI安裝?
- 9. 用Inno Setup安裝程序安裝Windows shell擴展DLL
- 10. 用Inno Setup安裝IIS
- 11. 用Inno Setup安裝Python
- 12. Inno Setup的指定安裝
- 13. 使用Inno Setup安裝IIS
- 14. Inno Setup的腳本安裝
- 15. Inno Setup模塊化安裝
- 16. 安裝在Inno Setup的
- 17. 通過inno setup創建一個vb6安裝程序與mysql通過inno setup
- 18. 與Inno Setup一起安裝時,應用程序無法工作
- 19. 爲其他用戶安裝Inno Setup
- 20. INNO安裝驅動程序已安裝
- 21. Inno安裝程序無效的位圖圖像
- 22. Inno安裝程序作爲引導程序.msi
- 23. Inno Setup:如何在安裝過程中中止/終止安裝?
- 24. Inno Setup圖像下載
- 25. 從Inno Setup安裝程序運行批處理文件失敗
- 26. 檢查XML的版本使用Inno Setup的安裝程序
- 27. 無法使用Inno Setup登錄(un)安裝程序
- 28. Inno setup:使用rundll32或dpinst安裝驅動程序?
- 29. 有條件地安裝Inno Setup的x64驅動程序
- 30. 使用Inno Setup創建一個透明的安裝程序?